mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Force opengles driver in order to fix black backgrounds
This commit is contained in:
parent
02219b26de
commit
74cf4791c3
@ -179,6 +179,9 @@ ReadConfig ()
|
||||
SDL_SetHint (SDL_HINT_RENDER_DRIVER, input.c_str ());
|
||||
}
|
||||
|
||||
/* HACK: all backgrounds are black with opengles2 ?!? */
|
||||
SDL_SetHint (SDL_HINT_RENDER_DRIVER, "opengles");
|
||||
|
||||
if (
|
||||
!(g_settingsOverload & SETTING_MIDI) && j.find ("restoremidi") != j.end ())
|
||||
g_restoreMidi = j["restoremidi"].get<bool> ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user