Browse Source

OpenGL ES 2: GLchar is not defined on BeagleBoard/Ångström Linux 2011.3.

Added the typedef manually, shouldn't clash with the "official", if
present.
vectorfields
Vladimír Vondruš 14 years ago
parent
commit
d5be1b43a6
  1. 5
      src/Shader.cpp

5
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 {

Loading…
Cancel
Save