Commit ac10a2f29d9f4d61008a0b85ae37e2ac418d44b1

Philipp Wiesemann 2015-05-18T21:17:13

Fixed compiling test program with Emscripten.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/testgles2.c b/test/testgles2.c
index fedf311..55f06cb 100644
--- a/test/testgles2.c
+++ b/test/testgles2.c
@@ -20,7 +20,7 @@
 
 #include "SDL_test_common.h"
 
-#if defined(__IPHONEOS__) || defined(__ANDROID__) || defined(__NACL__)
+#if defined(__IPHONEOS__) || defined(__ANDROID__) || defined(__EMSCRIPTEN__) || defined(__NACL__)
 #define HAVE_OPENGLES2
 #endif