Sfoglia il codice sorgente

Fixed emscripten build

Sam Lantinga 3 anni fa
parent
commit
91b328c2c6
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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 Uint32 frames;
 static shader_data *datas;
+#ifndef __EMSCRIPTEN__
 static thread_data *threads;
+#endif
 
 static void
 render_window(int index)