mirror of
https://github.com/encounter/SDL.git
synced 2025-06-14 18:43:29 +00:00
switch: remove SDL_LoadFunction/SDL_UnloadObject from SDL_switchopengles.c(#22)
Functions already defined in dummy loadso
This commit is contained in:
parent
8a391fc6ce
commit
2ca320b95a
@ -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
|
||||||
|
@ -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: */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user