shithub: cstory

Download patch

ref: d38c96622ccfcb10032c02bdb0e2b0d347fec165
parent: 7e038bc24a4d30d2d8d255151d29a49dc5524737
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Apr 18 15:58:40 EDT 2019

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.

--- a/src/Draw.cpp
+++ b/src/Draw.cpp
@@ -86,11 +86,6 @@
 	//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);