update imgui to v1.91.7

This commit is contained in:
Green Sky 2025-01-18 14:48:09 +01:00
parent fee884ff32
commit 3320e6c1e3
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ endif()
if (NOT TARGET imgui) if (NOT TARGET imgui)
FetchContent_Declare(imgui FetchContent_Declare(imgui
GIT_REPOSITORY https://github.com/ocornut/imgui.git GIT_REPOSITORY https://github.com/ocornut/imgui.git
GIT_TAG cb16568 # v1.91.3 GIT_TAG 5c1d2d1e4c562a2ed3efbc64476e703a655b45fd # v1.91.7
EXCLUDE_FROM_ALL EXCLUDE_FROM_ALL
CONFIGURE_COMMAND "" # remove? CONFIGURE_COMMAND "" # remove?
) )

View File

@ -104,7 +104,7 @@ float DoomIMGUI::render(float time_delta) {
} }
doom_interval = _doom.render(time_delta); doom_interval = _doom.render(time_delta);
ImGui::Image(reinterpret_cast<void*>(_doom.getTexID()), {_size_scaler * 320, _size_scaler * 200 * 1.2f}); ImGui::Image(_doom.getTexID(), {_size_scaler * 320, _size_scaler * 200 * 1.2f});
} }
ImGui::End(); ImGui::End();