diff options
Diffstat (limited to 'shared_cpp')
-rw-r--r-- | shared_cpp/WebglContext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared_cpp/WebglContext.h b/shared_cpp/WebglContext.h index 017498f..8064b04 100644 --- a/shared_cpp/WebglContext.h +++ b/shared_cpp/WebglContext.h @@ -7,10 +7,10 @@ struct WebglContext { EMSCRIPTEN_WEBGL_CONTEXT_HANDLE context; - int width = 640; - int height = 480; + int width = 800; + int height = 600; - void init(const char* query, int inWidth = 640, int inHeight = 480) { + void init(const char* query, int inWidth = 800, int inHeight = 600) { width = inWidth; height = inHeight; emscripten_set_canvas_element_size( query, width, height); |