diff options
| author | Andre Weissflog <floooh@gmail.com> | 2019-06-11 18:26:31 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2019-06-11 18:26:31 +0200 |
| commit | b6479c181319990b2f21eb5be53b30d0ecf13db2 (patch) | |
| tree | c9cc68dc1dcdc77018715fcd13291db84f7f1c0b /sokol_app.h | |
| parent | 393a1aa8b0605dfd070f2f3b4e32973f6ebc9efa (diff) | |
sokol_app.h Windows: fix compile error (typo)
Diffstat (limited to 'sokol_app.h')
| -rw-r--r-- | sokol_app.h | 2 |
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); |