mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
imgui: fix clang-analyzer warnings
This commit is contained in:
parent
0f3a5ca25e
commit
f701df6100
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ static void ImGui_ImplAllegro5_SetupRenderState(ImDrawData* draw_data) {
|
|||
// (this used to be set in io->RenderDrawListsFn and called by ImGui::Render(), but you can now call this directly from your main loop)
|
||||
SYMBOL_INTERNAL void ImGui_ImplAllegro5_RenderDrawData(ImDrawData* draw_data) {
|
||||
// Avoid rendering when minimized
|
||||
if (draw_data->DisplaySize.x <= 0.0f || draw_data->DisplaySize.y <= 0.0f) {
|
||||
if (draw_data->DisplaySize.x <= 0.0F || draw_data->DisplaySize.y <= 0.0F) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue