Browse Source

Fixed emscripten build

Sam Lantinga 2 years ago
parent
commit
91b328c2c6
1 changed files with 2 additions and 0 deletions
  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)