From d38c96622ccfcb10032c02bdb0e2b0d347fec165 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 18 Apr 2019 19:58:40 +0100 Subject: [PATCH] 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. --- src/Draw.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Draw.cpp b/src/Draw.cpp index a3911ecd..6a16405d 100644 --- a/src/Draw.cpp +++ b/src/Draw.cpp @@ -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);