test/testgles2.c
changeset 9606 ec24a5add229
parent 9278 8900afb78a19
child 9607 7746ab058d12
equal deleted inserted replaced
9605:be71aef6c347 9606:ec24a5add229
    18 #include <emscripten/emscripten.h>
    18 #include <emscripten/emscripten.h>
    19 #endif
    19 #endif
    20 
    20 
    21 #include "SDL_test_common.h"
    21 #include "SDL_test_common.h"
    22 
    22 
    23 #if defined(__IPHONEOS__) || defined(__ANDROID__) || defined(__NACL__)
    23 #if defined(__IPHONEOS__) || defined(__ANDROID__) || defined(__EMSCRIPTEN__) || defined(__NACL__)
    24 #define HAVE_OPENGLES2
    24 #define HAVE_OPENGLES2
    25 #endif
    25 #endif
    26 
    26 
    27 #ifdef HAVE_OPENGLES2
    27 #ifdef HAVE_OPENGLES2
    28 
    28