Remove RPi hacks that are not necessary on SDL 2.0.11
This commit is contained in:
parent
489891ff3c
commit
9f41e98e3f
2 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue