notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac608d8
)
gpu-gles: schtruck/fpse merge: remove vram detection
author
notaz
<notasas@gmail.com>
Tue, 17 Jan 2012 00:03:30 +0000
(
02:03
+0200)
committer
notaz
<notasas@gmail.com>
Thu, 19 Jan 2012 21:22:17 +0000
(23:22 +0200)
supposedly can cause driver crashes
plugins/gpu-gles/gpuTexture.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpu-gles/gpuTexture.c
b/plugins/gpu-gles/gpuTexture.c
index
c5fa2be
..
264458e
100644
(file)
--- a/
plugins/gpu-gles/gpuTexture.c
+++ b/
plugins/gpu-gles/gpuTexture.c
@@
-472,6
+472,9
@@
void CheckTextureMemory(void)
return;
\r
}
\r
\r
+#if 1
\r
+ iSortTexCnt=MAXSORTTEX;
\r
+#else // below vram detector supposedly crashes some drivers
\r
\r
iTSize=256;
\r
p=(char *)malloc(iTSize*iTSize*4);
\r
@@
-508,6
+511,7
@@
void CheckTextureMemory(void)
else iSortTexCnt=iCnt-3+min(1,0); // place for menu&texwnd
\r
\r
if(iSortTexCnt<8) iSortTexCnt=8;
\r
+#endif
\r
}
\r
\r
////////////////////////////////////////////////////////////////////////
\r