Clarify (lack of) support for desktop OpenGL on the Raspberry Pi
authorGabriel Jacobo <gabomdq@gmail.com>
Tue, 21 Oct 2014 11:27:06 -0300
changeset 9175 ea006adc8372
parent 9174 f9244b2a1511
child 9176 8ebee8e28593
Clarify (lack of) support for desktop OpenGL on the Raspberry Pi
docs/README-raspberrypi.md
--- a/docs/README-raspberrypi.md	Mon Oct 20 22:19:09 2014 +0200
+++ b/docs/README-raspberrypi.md	Tue Oct 21 11:27:06 2014 -0300
@@ -151,6 +151,23 @@
     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
 ================================================================================