Explorar o código

Fixed emscripten build

Sam Lantinga %!s(int64=3) %!d(string=hai) anos
pai
achega
91b328c2c6
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      test/testgles2.c

+ 2 - 0
test/testgles2.c

@@ -522,7 +522,9 @@ Render(unsigned int width, unsigned int height, shader_data *data)
 static int done;
 static int done;
 static Uint32 frames;
 static Uint32 frames;
 static shader_data *datas;
 static shader_data *datas;
+#ifndef __EMSCRIPTEN__
 static thread_data *threads;
 static thread_data *threads;
+#endif
 
 
 static void
 static void
 render_window(int index)
 render_window(int index)