Files
cup_edit/thermion_dart/native/web/include/ThermionWebApi.h
Nick Fisher e147e59d8d don't call endFrame() unless beginFrame() was called
only use condition_variable on non-emscripten builds
2025-06-03 16:39:04 +08:00

18 lines
290 B
C

#pragma once
#include <emscripten/html5_webgl.h>
#ifdef __cplusplus
extern "C" {
#endif
void Thermion_resizeCanvas(int width, int height);
EMSCRIPTEN_WEBGL_CONTEXT_HANDLE Thermion_createGLContext();
EMSCRIPTEN_WEBGL_CONTEXT_HANDLE Thermion_getGLContext();
#ifdef __cplusplus
}
#endif