Handle VRAM in megabytes. This was previously being reported as bytes.
parent
9c83d4b5b8
commit
90e511bbdf
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue