Remove Raspberry Pi hack that forces SDL2 to use OpenGLES2

This was only for Void and Arch ARM, but I think I'm just setting them up
wrong. Raspbian doesn't need this hack to reach 60FPS.
This commit is contained in:
Clownacy 2019-04-18 19:58:40 +01:00
parent 7e038bc24a
commit d38c96622c

View file

@ -86,11 +86,6 @@ BOOL StartDirectDraw(int lMagnification, int lColourDepth)
//Initialize rendering
SDL_InitSubSystem(SDL_INIT_VIDEO);
#ifdef RASPBERRY_PI
//Force OpenGLES2 on Raspberry Pi
SDL_SetHint(SDL_HINT_RENDER_DRIVER, "opengles2");
#endif
//Create renderer
gRenderer = SDL_CreateRenderer(gWindow, -1, SDL_RENDERER_ACCELERATED);