Fixed compiling test program with Emscripten.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Mon, 18 May 2015 21:17:13 +0200
changeset 9606 ec24a5add229
parent 9605 be71aef6c347
child 9607 7746ab058d12
Fixed compiling test program with Emscripten.
test/testgles2.c
--- a/test/testgles2.c	Mon May 18 21:12:16 2015 +0200
+++ b/test/testgles2.c	Mon May 18 21:17:13 2015 +0200
@@ -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