diff --git a/src/core.h b/src/core.h index 50078e1..1a2488e 100644 --- a/src/core.h +++ b/src/core.h @@ -31,6 +31,7 @@ extern void osToggleVR(bool enable); #elif __SDL2__ + extern void osToggleVR(bool enable); #define _GAPI_GL 1 #ifdef SDL2_GLES #define _GAPI_GLES 1 diff --git a/src/platform/sdl2/main.cpp b/src/platform/sdl2/main.cpp index 42eca0f..2034ecf 100644 --- a/src/platform/sdl2/main.cpp +++ b/src/platform/sdl2/main.cpp @@ -103,6 +103,10 @@ void osJoyVibrate(int index, float L, float R) { // TODO } +void osToggleVR(bool enable) { + // TODO +} + bool isKeyPressed (SDL_Scancode scancode) { const Uint8 *state = SDL_GetKeyboardState(NULL); if (state[scancode]) {