From d5be1b43a6861d10225e3c4e0dc27da22875c17f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 7 Jul 2012 16:27:47 +0200 Subject: [PATCH] =?UTF-8?q?OpenGL=20ES=202:=20GLchar=20is=20not=20defined?= =?UTF-8?q?=20on=20BeagleBoard/=C3=85ngstr=C3=B6m=20Linux=202011.3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added the typedef manually, shouldn't clash with the "official", if present. --- src/Shader.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Shader.cpp b/src/Shader.cpp index 2ffc80738..6646b2d47 100644 --- a/src/Shader.cpp +++ b/src/Shader.cpp @@ -19,6 +19,11 @@ #define COMPILER_MESSAGE_MAX_LENGTH 1024 +/* libgles-omap3-dev_4.03.00.02-r15.6 on BeagleBoard/Ångström linux 2011.3 doesn't have GLchar */ +#ifdef MAGNUM_TARGET_GLES +typedef char GLchar; +#endif + using namespace std; namespace Magnum {