mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-25 00:35:34 +00:00
dad420670f
If the app is in landscape mode and the user presses the power button, a pause is followed immediately by a surfaceChanged event because the lock screen is shown in portrait mode. This triggers a "false" resume. So, we just pause and resume following the onWindowFocusChanged events. Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before blocking the event pump.
17 lines
785 B
Plaintext
17 lines
785 B
Plaintext
SDL 2.0 with open pandora console support ( http://openpandora.org/ )
|
|
=====================================================================
|
|
|
|
- A pandora specific video driver was written to allow SDL 2.0 with OpenGL ES
|
|
support to work on the pandora under the framebuffer. This driver do not have
|
|
input support for now, so if you use it you will have to add your own control code.
|
|
The video driver name is "pandora" so if you have problem running it from
|
|
the framebuffer, try to set the following variable before starting your application :
|
|
"export SDL_VIDEODRIVER=pandora"
|
|
|
|
- OpenGL ES support was added to the x11 driver, so it's working like the normal
|
|
x11 driver one with OpenGLX support, with SDL input event's etc..
|
|
|
|
|
|
David Carré (Cpasjuste)
|
|
cpasjuste@gmail.com
|