about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-16 17:42:15 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-16 17:42:22 +0200
commitde4044d5b16b6f1c953542f448d21239265937b3 (patch)
treebcb27d9622a980224e68bc1bee0082872a75c6e1 /src
parent1503241c7aa89e8c54e6935881717f41cc25e47c (diff)
downloadbox64-de4044d5b16b6f1c953542f448d21239265937b3.tar.gz
box64-de4044d5b16b6f1c953542f448d21239265937b3.zip
[BOX32] Fixed an issue with using 32bits OpenGL with SDL1.2
Diffstat (limited to 'src')
-rw-r--r--src/wrapped32/wrappedsdl1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped32/wrappedsdl1.c b/src/wrapped32/wrappedsdl1.c
index 8fedb35e..6f764436 100644
--- a/src/wrapped32/wrappedsdl1.c
+++ b/src/wrapped32/wrappedsdl1.c
@@ -434,7 +434,7 @@ EXPORT void* my32_SDL_GL_GetProcAddress(x64emu_t* emu, void* name)
 {
     khint_t k;
     const char* rname = (const char*)name;
-    return getGLProcAddress(emu, (glprocaddress_t)my->SDL_GL_GetProcAddress, rname);
+    return getGLProcAddress32(emu, (glprocaddress_t)my->SDL_GL_GetProcAddress, rname);
 }
 
 // DL functions from wrappedlibdl.c