Fixed compiling test program with Emscripten.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Mon, 18 May 2015 21:17:13 +0200
changeset 9606ec24a5add229
parent 9605 be71aef6c347
child 9607 7746ab058d12
Fixed compiling test program with Emscripten.
test/testgles2.c
     1.1 --- a/test/testgles2.c	Mon May 18 21:12:16 2015 +0200
     1.2 +++ b/test/testgles2.c	Mon May 18 21:17:13 2015 +0200
     1.3 @@ -20,7 +20,7 @@
     1.4  
     1.5  #include "SDL_test_common.h"
     1.6  
     1.7 -#if defined(__IPHONEOS__) || defined(__ANDROID__) || defined(__NACL__)
     1.8 +#if defined(__IPHONEOS__) || defined(__ANDROID__) || defined(__EMSCRIPTEN__) || defined(__NACL__)
     1.9  #define HAVE_OPENGLES2
    1.10  #endif
    1.11