Don't call SDLESSet

Turns out sdl12's version of this function only did stuff for DC/GP2X ports; support for them have been cut out for SDL2, so for now let's just not use the function at all
This commit is contained in:
Monster Iestyn 2016-11-21 19:42:39 +00:00
parent 672ae61b10
commit f4705b01f4
1 changed files with 3 additions and 1 deletions

View File

@ -1494,10 +1494,12 @@ void VID_PrepareModeList(void)
#endif
}
#if 0
static inline void SDLESSet(void)
{
SDL2STUB();
}
#endif
INT32 VID_SetMode(INT32 modeNum)
{
@ -1718,7 +1720,7 @@ void I_StartupGraphics(void)
borderlesswindow = M_CheckParm("-borderless");
//SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY>>1,SDL_DEFAULT_REPEAT_INTERVAL<<2);
SDLESSet();
//SDLESSet(); // unused
VID_Command_ModeList_f();
#ifdef HWRENDER
if (M_CheckParm("-opengl") || rendermode == render_opengl)