From 2ca320b95a1c8fba4ed2cf30d7e1109205a591a9 Mon Sep 17 00:00:00 2001 From: Cpasjuste Date: Fri, 12 Oct 2018 15:55:05 +0200 Subject: [PATCH] switch: remove SDL_LoadFunction/SDL_UnloadObject from SDL_switchopengles.c(#22) Functions already defined in dummy loadso --- CMakeLists.switch | 2 ++ src/video/switch/SDL_switchopengles.c | 13 ------------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/CMakeLists.switch b/CMakeLists.switch index f80218eff..8b6ec2b43 100644 --- a/CMakeLists.switch +++ b/CMakeLists.switch @@ -35,6 +35,8 @@ set(SRC_DIRS src/joystick src/joystick/switch src/joystick/dummy + src/loadso + src/loadso/dummy src/libm src/power src/render diff --git a/src/video/switch/SDL_switchopengles.c b/src/video/switch/SDL_switchopengles.c index 6681eb2cf..6dd0c2bee 100644 --- a/src/video/switch/SDL_switchopengles.c +++ b/src/video/switch/SDL_switchopengles.c @@ -57,19 +57,6 @@ SDL_EGL_CreateContext_impl(SWITCH) SDL_EGL_MakeCurrent_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 */ /* vi: set ts=4 sw=4 expandtab: */