diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llwindow/llopenglview-objc.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llwindow/llopenglview-objc.mm b/indra/llwindow/llopenglview-objc.mm index 24de5912f0..aa7df2c985 100644 --- a/indra/llwindow/llopenglview-objc.mm +++ b/indra/llwindow/llopenglview-objc.mm @@ -88,7 +88,8 @@ attributedStringInfo getSegments(NSAttributedString *str) { vram_bytes = (256 << 20); } - return (unsigned long)vram_bytes; + + return (unsigned long)vram_bytes / 1048576; // We need this in megabytes. } - (void)viewDidMoveToWindow |