don't call endFrame() unless beginFrame() was called

only use condition_variable on non-emscripten builds
This commit is contained in:
Nick Fisher committed 2025-06-03 16:39:04 +08:00
1 parent 28aef7e5cc
commit e147e59d8d
6 files changed
+41 -28

No files matched your search

@@ -8,6 +8,7 @@ extern "C" {
void Thermion_resizeCanvas(int width, int height);
EMSCRIPTEN_WEBGL_CONTEXT_HANDLE Thermion_createGLContext();
EMSCRIPTEN_WEBGL_CONTEXT_HANDLE Thermion_getGLContext();
#ifdef __cplusplus