Remove RPi hacks that are not necessary on SDL 2.0.11

This commit is contained in:
Cameron Gutman
2020-02-24 19:55:16 -08:00
parent 489891ff3c
commit 9f41e98e3f
2 changed files with 6 additions and 4 deletions

View File

@@ -462,6 +462,7 @@ bool Session::initialize()
break;
}
#if !SDL_VERSION_ATLEAST(2, 0, 11)
// HACK: Using a full-screen window breaks mouse capture on the Pi's LXDE
// GUI environment. Force the session to use windowed mode (which won't
// really matter anyway because the MMAL renderer always draws full-screen).
@@ -470,6 +471,7 @@ bool Session::initialize()
"Forcing windowed mode on LXDE-Pi");
m_FullScreenFlag = 0;
}
#endif
// Check for validation errors/warnings and emit
// signals for them, if appropriate