Browse Source

Fixed building testgles2 on Linux

Sam Lantinga 3 years ago
parent
commit
e5d59fa77c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      test/testgles2.c

+ 2 - 0
test/testgles2.c

@@ -22,8 +22,10 @@
 
 #if defined(__IPHONEOS__) || defined(__ANDROID__) || defined(__EMSCRIPTEN__) || defined(__NACL__) \
     || defined(__WINDOWS__) || defined(__LINUX__)
+#ifndef HAVE_OPENGLES2
 #define HAVE_OPENGLES2
 #endif
+#endif
 
 #ifdef HAVE_OPENGLES2