aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu-gles/gpuPlugin.c
diff options
context:
space:
mode:
authornotaz2013-02-06 03:54:04 +0200
committernotaz2013-02-06 03:54:04 +0200
commit418caf437ed1af2880b013462b603e1ca1f28fb5 (patch)
tree3a3aaa190472dc705f5301f97bbae624b58660ee /plugins/gpu-gles/gpuPlugin.c
parent468072a17a20bf584df17f14e329441eebf66776 (diff)
downloadpcsx_rearmed-418caf437ed1af2880b013462b603e1ca1f28fb5.tar.gz
pcsx_rearmed-418caf437ed1af2880b013462b603e1ca1f28fb5.tar.bz2
pcsx_rearmed-418caf437ed1af2880b013462b603e1ca1f28fb5.zip
attempt to make gles plugin work under RPi
Diffstat (limited to 'plugins/gpu-gles/gpuPlugin.c')
-rw-r--r--plugins/gpu-gles/gpuPlugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/gpu-gles/gpuPlugin.c b/plugins/gpu-gles/gpuPlugin.c
index 9d749a5..60570ac 100644
--- a/plugins/gpu-gles/gpuPlugin.c
+++ b/plugins/gpu-gles/gpuPlugin.c
@@ -511,7 +511,7 @@ long CALLBACK GPUopen(int hwndGPU)
// lGPUstatusRet = 0x74000000;
// with some emus, we could do the OGL init right here... oh my
- if(bIsFirstFrame) GLinitialize();
+ if(bIsFirstFrame) GLinitialize(NULL, NULL);
return 0;
}
@@ -1170,7 +1170,7 @@ void CALLBACK GPUwriteStatus(unsigned long gdata)
{
unsigned long lCommand=(gdata>>24)&0xff;
-if(bIsFirstFrame) GLinitialize(); // real ogl startup (needed by some emus)
+if(bIsFirstFrame) GLinitialize(NULL, NULL); // real ogl startup (needed by some emus)
ulStatusControl[lCommand]=gdata;
@@ -2183,7 +2183,7 @@ unsigned long dmaMem;
unsigned char * baseAddrB;
short count;unsigned int DMACommandCounter = 0;
-if(bIsFirstFrame) GLinitialize();
+if(bIsFirstFrame) GLinitialize(NULL, NULL);
GPUIsBusy;