switch: remove SDL_LoadFunction/SDL_UnloadObject from SDL_switchopengles.c(#22)

Functions already defined in dummy loadso
This commit is contained in:
Cpasjuste 2018-10-12 15:55:05 +02:00 committed by Dave Murphy
parent 8a391fc6ce
commit 2ca320b95a
2 changed files with 2 additions and 13 deletions

View File

@ -35,6 +35,8 @@ set(SRC_DIRS
src/joystick src/joystick
src/joystick/switch src/joystick/switch
src/joystick/dummy src/joystick/dummy
src/loadso
src/loadso/dummy
src/libm src/libm
src/power src/power
src/render src/render

View File

@ -57,19 +57,6 @@ SDL_EGL_CreateContext_impl(SWITCH)
SDL_EGL_MakeCurrent_impl(SWITCH) SDL_EGL_MakeCurrent_impl(SWITCH)
SDL_EGL_SwapWindow_impl(SWITCH) SDL_EGL_SwapWindow_impl(SWITCH)
// for SDL_egl.c compatibility
void *
SDL_LoadFunction(void *handle, const char *name)
{
return NULL;
}
void
SDL_UnloadObject(void *handle)
{
}
#endif /* SDL_VIDEO_DRIVER_SWITCH */ #endif /* SDL_VIDEO_DRIVER_SWITCH */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */