aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sokol_app.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_app.h b/sokol_app.h
index 9fc98424..ae4abb43 100644
--- a/sokol_app.h
+++ b/sokol_app.h
@@ -3911,7 +3911,7 @@ _SOKOL_PRIVATE void _sapp_win32_init_keytable(void) {
_SOKOL_PRIVATE bool _sapp_win32_update_dimensions(void) {
RECT rect;
if (GetClientRect(_sapp_win32_hwnd, &rect)) {
- _sapp.window_width = = (int)((float)(rect.right - rect.left) / _sapp_win32_window_scale);
+ _sapp.window_width = (int)((float)(rect.right - rect.left) / _sapp_win32_window_scale);
_sapp.window_height = (int)((float)(rect.bottom - rect.top) / _sapp_win32_window_scale);
const int fb_width = (int)((float)_sapp.window_width * _sapp_win32_content_scale);
const int fb_height = (int)((float)_sapp.window_height * _sapp_win32_content_scale);