diff options
| author | Borislav Stanimirov <b.stanimirov@abv.bg> | 2020-02-18 14:56:06 +0200 |
|---|---|---|
| committer | Borislav Stanimirov <b.stanimirov@abv.bg> | 2020-02-18 14:56:06 +0200 |
| commit | cf4c89a1e269bb94734b25180b65b5df8f4c1cf3 (patch) | |
| tree | 37c492035cde495412cd9b499a9444a08bfd9be7 /util | |
| parent | e9ffae17bcc9ce3edd35752d4e16f0e85ea93080 (diff) | |
sokol_imgui.h: fixed gcc 9 warning ignored-qualifiers
Diffstat (limited to 'util')
| -rw-r--r-- | util/sokol_imgui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sokol_imgui.h b/util/sokol_imgui.h index f26a8790..5c5eef9b 100644 --- a/util/sokol_imgui.h +++ b/util/sokol_imgui.h @@ -1001,8 +1001,8 @@ SOKOL_API_IMPL void simgui_render(void) { sg_push_debug_group("sokol-imgui"); const float dpi_scale = _simgui.desc.dpi_scale; - const int fb_width = (const int) (io->DisplaySize.x * dpi_scale); - const int fb_height = (const int) (io->DisplaySize.y * dpi_scale); + const int fb_width = (int) (io->DisplaySize.x * dpi_scale); + const int fb_height = (int) (io->DisplaySize.y * dpi_scale); sg_apply_viewport(0, 0, fb_width, fb_height, true); sg_apply_scissor_rect(0, 0, fb_width, fb_height, true); |