src/video/android/SDL_androidgl.c
changeset 11175 cbc6a8a5b701
parent 10737 3406a0f8b041
child 11811 5d94cb6b24d3
equal deleted inserted replaced
11174:3767cdd2d64b 11175:cbc6a8a5b701
    52     return SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface);
    52     return SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface);
    53 }
    53 }
    54 
    54 
    55 int
    55 int
    56 Android_GLES_LoadLibrary(_THIS, const char *path) {
    56 Android_GLES_LoadLibrary(_THIS, const char *path) {
    57     return SDL_EGL_LoadLibrary(_this, path, (NativeDisplayType) 0);
    57     return SDL_EGL_LoadLibrary(_this, path, (NativeDisplayType) 0, 0);
    58 }
    58 }
    59 
    59 
    60 #endif /* SDL_VIDEO_DRIVER_ANDROID */
    60 #endif /* SDL_VIDEO_DRIVER_ANDROID */
    61 
    61 
    62 /* vi: set ts=4 sw=4 expandtab: */
    62 /* vi: set ts=4 sw=4 expandtab: */