emscripten: fix warnings in tests

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2022-11-16 15:42:08 +01:00
1 parent a71e558d85
commit d8884b845e
4 files changed
+10 -3

No files matched your search

+2
View File
@@ -472,6 +472,7 @@ render_window(int index)
++frames;
}
#ifndef __EMSCRIPTEN__
static int SDLCALL
render_thread_fn(void* render_ctx)
{
@@ -512,6 +513,7 @@ loop_threaded()
SDLTest_CommonEvent(state, &event, &done);
}
}
#endif
static void
loop()