diff options
author | mattkae <mattkae@protonmail.com> | 2022-05-01 21:55:18 -0400 |
---|---|---|
committer | mattkae <mattkae@protonmail.com> | 2022-05-01 21:55:18 -0400 |
commit | 1c051dffdb27ff6ebaa96802b021e99e49afb861 (patch) | |
tree | 915dca8be4507da86c1f19726560a88b568ab280 /themes/WebglContext.h | |
parent | 40a924db3664318615a9a3f11ee25c206cb77fe1 (diff) |
Fixed resize issue
Diffstat (limited to 'themes/WebglContext.h')
-rw-r--r-- | themes/WebglContext.h | 4 |
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); |