Browse Source

Fixed emscripten build

Sam Lantinga 2 năm trước cách đây
mục cha
commit
91b328c2c6
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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)