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
Fixup buread & buwrite being undefined.
[pcsx_rearmed.git]
/
plugins
/
gpu-gles
/
gpuPlugin.c
diff --git
a/plugins/gpu-gles/gpuPlugin.c
b/plugins/gpu-gles/gpuPlugin.c
index
45a0b92
..
60570ac
100644
(file)
--- a/
plugins/gpu-gles/gpuPlugin.c
+++ b/
plugins/gpu-gles/gpuPlugin.c
@@
-506,10
+506,12
@@
long CALLBACK GPUopen(int hwndGPU)
\r
InitializeTextureStore(); // init texture mem
\r
\r
\r
InitializeTextureStore(); // init texture mem
\r
\r
+ CSTEXTURE = CSVERTEX = CSCOLOR = 0;
\r
+
\r
// lGPUstatusRet = 0x74000000;
\r
\r
// with some emus, we could do the OGL init right here... oh my
\r
// lGPUstatusRet = 0x74000000;
\r
\r
// with some emus, we could do the OGL init right here... oh my
\r
- if(bIsFirstFrame) GLinitialize();
\r
+ if(bIsFirstFrame) GLinitialize(
NULL, NULL
);
\r
\r
return 0;
\r
}
\r
\r
return 0;
\r
}
\r
@@
-1168,7
+1170,7
@@
void CALLBACK GPUwriteStatus(unsigned long gdata)
{
\r
unsigned long lCommand=(gdata>>24)&0xff;
\r
\r
{
\r
unsigned long lCommand=(gdata>>24)&0xff;
\r
\r
-if(bIsFirstFrame) GLinitialize(
);
// real ogl startup (needed by some emus)
\r
+if(bIsFirstFrame) GLinitialize(
NULL, NULL);
// real ogl startup (needed by some emus)
\r
\r
ulStatusControl[lCommand]=gdata;
\r
\r
\r
ulStatusControl[lCommand]=gdata;
\r
\r
@@
-2181,7
+2183,7
@@
unsigned long dmaMem;
unsigned char * baseAddrB;
\r
short count;unsigned int DMACommandCounter = 0;
\r
\r
unsigned char * baseAddrB;
\r
short count;unsigned int DMACommandCounter = 0;
\r
\r
-if(bIsFirstFrame) GLinitialize();
\r
+if(bIsFirstFrame) GLinitialize(
NULL, NULL
);
\r
\r
GPUIsBusy;
\r
\r
\r
GPUIsBusy;
\r
\r