From d2ec504b047cc7d7a036c339d46e41e8567422a8 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 17 Jan 2012 02:03:30 +0200 Subject: gpu-gles: schtruck/fpse merge: remove vram detection supposedly can cause driver crashes --- plugins/gpu-gles/gpuTexture.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/gpu-gles') 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 } //////////////////////////////////////////////////////////////////////// -- cgit v1.2.3