From 96fd9cefc8d8f3ae97ba78d9c6216591641f8da0 Mon Sep 17 00:00:00 2001 From: Gabriel Jacobo Date: Tue, 21 Oct 2014 11:27:06 -0300 Subject: [PATCH] Clarify (lack of) support for desktop OpenGL on the Raspberry Pi --- docs/README-raspberrypi.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/README-raspberrypi.md b/docs/README-raspberrypi.md index c14dbf1adb67f..fd6cdf8297a69 100644 --- a/docs/README-raspberrypi.md +++ b/docs/README-raspberrypi.md @@ -150,6 +150,23 @@ this determining the CAPS LOCK behavior: 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 ================================================================================