notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cdrom: report read errors correctly
[pcsx_rearmed.git]
/
plugins
/
gpu-gles
/
gpuTexture.c
diff --git
a/plugins/gpu-gles/gpuTexture.c
b/plugins/gpu-gles/gpuTexture.c
index
264458e
..
2f96482
100644
(file)
--- a/
plugins/gpu-gles/gpuTexture.c
+++ b/
plugins/gpu-gles/gpuTexture.c
@@
-612,6
+612,7
@@
void CleanupTextureStore()
for(j=0;j<MAXTPAGES;j++) // loop tex pages
\r
{
\r
free(pscSubtexStore[i][j]); // -> clean mem
\r
for(j=0;j<MAXTPAGES;j++) // loop tex pages
\r
{
\r
free(pscSubtexStore[i][j]); // -> clean mem
\r
+ pscSubtexStore[i][j]=0;
\r
}
\r
for(i=0;i<MAXSORTTEX;i++)
\r
{
\r
}
\r
for(i=0;i<MAXSORTTEX;i++)
\r
{
\r
@@
-622,6
+623,7
@@
void CleanupTextureStore()
uiStexturePage[i]=0; // --> delete it
\r
}
\r
free(pxSsubtexLeft[i]); // -> clean mem
\r
uiStexturePage[i]=0; // --> delete it
\r
}
\r
free(pxSsubtexLeft[i]); // -> clean mem
\r
+ pxSsubtexLeft[i]=0;
\r
}
\r
//----------------------------------------------------//
\r
}
\r
}
\r
//----------------------------------------------------//
\r
}
\r