summaryrefslogtreecommitdiff
path: root/themes/WebglContext.h
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-05-01 21:55:18 -0400
committermattkae <mattkae@protonmail.com>2022-05-01 21:55:18 -0400
commit1c051dffdb27ff6ebaa96802b021e99e49afb861 (patch)
tree915dca8be4507da86c1f19726560a88b568ab280 /themes/WebglContext.h
parent40a924db3664318615a9a3f11ee25c206cb77fe1 (diff)
Fixed resize issue
Diffstat (limited to 'themes/WebglContext.h')
-rw-r--r--themes/WebglContext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/WebglContext.h b/themes/WebglContext.h
index 7b3cc1c..1956092 100644
--- a/themes/WebglContext.h
+++ b/themes/WebglContext.h
@@ -8,8 +8,8 @@
struct WebglContext {
EMSCRIPTEN_WEBGL_CONTEXT_HANDLE context;
- i32 width = 800;
- i32 height = 600;
+ f32 width = 800;
+ f32 height = 600;
char query[128];;
void init(const char* inQuery);