mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Clarify (lack of) support for desktop OpenGL on the Raspberry Pi
This commit is contained in:
parent
5f193f0c60
commit
96fd9cefc8
@ -150,6 +150,23 @@ this determining the CAPS LOCK behavior:
|
|||||||
|
|
||||||
sudo dpkg-reconfigure locales
|
sudo dpkg-reconfigure locales
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
OpenGL problems
|
||||||
|
================================================================================
|
||||||
|
|
||||||
|
If you have desktop OpenGL headers installed at build time in your RPi or cross
|
||||||
|
compilation environment, support for it will be built in. However, the chipset
|
||||||
|
does not actually have support for it, which causes issues in certain SDL apps
|
||||||
|
since the presence of OpenGL support supersedes the ES/ES2 variants.
|
||||||
|
The workaround is to disable OpenGL at configuration time:
|
||||||
|
|
||||||
|
./configure --disable-video-opengl
|
||||||
|
|
||||||
|
Or if the application uses the Render functions, you can use the SDL_RENDER_DRIVER
|
||||||
|
environment variable:
|
||||||
|
|
||||||
|
export SDL_RENDER_DRIVER=opengles2
|
||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
Notes
|
Notes
|
||||||
================================================================================
|
================================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user