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:
parent
7e038bc24a
commit
d38c96622c
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue