docs/README-raspberrypi.md
changeset 9175 ea006adc8372
parent 9066 c2af3ff967cc
child 9722 696d7571abcd
     1.1 --- a/docs/README-raspberrypi.md	Mon Oct 20 22:19:09 2014 +0200
     1.2 +++ b/docs/README-raspberrypi.md	Tue Oct 21 11:27:06 2014 -0300
     1.3 @@ -151,6 +151,23 @@
     1.4      sudo dpkg-reconfigure locales
     1.5  
     1.6  ================================================================================
     1.7 + OpenGL problems
     1.8 +================================================================================
     1.9 +
    1.10 +If you have desktop OpenGL headers installed at build time in your RPi or cross 
    1.11 +compilation environment, support for it will be built in. However, the chipset 
    1.12 +does not actually have support for it, which causes issues in certain SDL apps 
    1.13 +since the presence of OpenGL support supersedes the ES/ES2 variants.
    1.14 +The workaround is to disable OpenGL at configuration time:
    1.15 +
    1.16 +    ./configure --disable-video-opengl
    1.17 +
    1.18 +Or if the application uses the Render functions, you can use the SDL_RENDER_DRIVER
    1.19 +environment variable:
    1.20 +
    1.21 +    export SDL_RENDER_DRIVER=opengles2
    1.22 +
    1.23 +================================================================================
    1.24   Notes
    1.25  ================================================================================
    1.26