瀏覽代碼

Fixed compiling test program with Emscripten.

Philipp Wiesemann 11 年之前
父節點
當前提交
ac10a2f29d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/testgles2.c

+ 1 - 1
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