about summary refs log tree commit diff stats
path: root/src/libtools/sdl2rwops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtools/sdl2rwops.c')
-rw-r--r--src/libtools/sdl2rwops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtools/sdl2rwops.c b/src/libtools/sdl2rwops.c
index 085c7837..1273d36c 100644
--- a/src/libtools/sdl2rwops.c
+++ b/src/libtools/sdl2rwops.c
@@ -121,8 +121,8 @@ static void checkSDL2isNative()
 {
     if(my_context->sdl2allocrw)
         return;
-    emulated_sdl2allocrw = FindGlobalSymbol(my_context->maplib, "SDL_AllocRW", -1, NULL);
-    emulated_sdl2freerw = FindGlobalSymbol(my_context->maplib, "SDL_FreeRW", -1, NULL);
+    emulated_sdl2allocrw = FindGlobalSymbol(my_context->maplib, "SDL_AllocRW", -1, NULL, 0);
+    emulated_sdl2freerw = FindGlobalSymbol(my_context->maplib, "SDL_FreeRW", -1, NULL, 0);
     if(emulated_sdl2allocrw && emulated_sdl2freerw) {
         my_context->sdl2allocrw = my_wrapped_sdl2allocrw;
         my_context->sdl2freerw = my_wrapped_sdl2freerw;