Handle VRAM in megabytes. This was previously being reported as bytes.

master
Geenz 2013-06-20 11:28:05 -04:00
parent 9c83d4b5b8
commit 90e511bbdf
1 changed files with 2 additions and 1 deletions

View File

@ -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