aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu-gles
diff options
context:
space:
mode:
authornotaz2012-01-17 02:03:30 +0200
committernotaz2012-01-19 23:22:17 +0200
commitd2ec504b047cc7d7a036c339d46e41e8567422a8 (patch)
tree361c655cadb91bc308388b91f16230259a881723 /plugins/gpu-gles
parentac608d8ae9567b4e61b55156f47a43435a3a8ef5 (diff)
downloadpcsx_rearmed-d2ec504b047cc7d7a036c339d46e41e8567422a8.tar.gz
pcsx_rearmed-d2ec504b047cc7d7a036c339d46e41e8567422a8.tar.bz2
pcsx_rearmed-d2ec504b047cc7d7a036c339d46e41e8567422a8.zip
gpu-gles: schtruck/fpse merge: remove vram detection
supposedly can cause driver crashes
Diffstat (limited to 'plugins/gpu-gles')
-rw-r--r--plugins/gpu-gles/gpuTexture.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/gpu-gles/gpuTexture.c b/plugins/gpu-gles/gpuTexture.c
index c5fa2be..264458e 100644
--- a/plugins/gpu-gles/gpuTexture.c
+++ b/plugins/gpu-gles/gpuTexture.c
@@ -472,6 +472,9 @@ void CheckTextureMemory(void)
return;
}
+#if 1
+ iSortTexCnt=MAXSORTTEX;
+#else // below vram detector supposedly crashes some drivers
iTSize=256;
p=(char *)malloc(iTSize*iTSize*4);
@@ -508,6 +511,7 @@ void CheckTextureMemory(void)
else iSortTexCnt=iCnt-3+min(1,0); // place for menu&texwnd
if(iSortTexCnt<8) iSortTexCnt=8;
+#endif
}
////////////////////////////////////////////////////////////////////////