diff options
Diffstat (limited to 'system/include/emscripten.h')
-rw-r--r-- | system/include/emscripten.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/include/emscripten.h b/system/include/emscripten.h index d0e6cc46..4da31ec3 100644 --- a/system/include/emscripten.h +++ b/system/include/emscripten.h @@ -65,6 +65,12 @@ void emscripten_async_call(void (*func)(), int millis) { void emscripten_hide_mouse(); /* + * Resizes the pixel width and height of the <canvas> element + * on the Emscripten web page. + */ +void emscripten_set_canvas_size(int width, int height); + +/* * Returns the highest-precision representation of the * current time that the browser provides. This uses either * Date.now or performance.now. The result is *not* an |