Check for low GPU memory and try to disable cache.

This may help with phones and even desktops without much VRAM/RAM.
Normally OpenGL will copy between them, though, so it should not happen
often, especially not on desktops.
This commit is contained in:
Unknown W. Brackets
2013-05-05 00:00:22 -07:00
parent 5b970d76e3
commit bd692ddf66
2 changed files with 15 additions and 4 deletions
+1
View File
@@ -108,6 +108,7 @@ private:
TexCache secondCache;
bool clearCacheNextFrame_;
bool lowMemoryMode_;
TextureScaler scaler;
SimpleBuf<u32> tmpTexBuf32;