emscripten: fix warnings in tests

This commit is contained in:
Anonymous Maarten
2022-11-01 13:10:46 +01:00
committed by Anonymous Maarten
parent a71e558d85
commit d8884b845e
4 changed files with 10 additions and 3 deletions

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()