mirror of https://github.com/auygun/kaliber.git
Fix for compiler warning
This commit is contained in:
parent
0d64c98854
commit
61a96c7988
|
@ -131,7 +131,7 @@ void ImguiBackend::NewFrame(float delta_time) {
|
|||
void ImguiBackend::Render() {
|
||||
ImGui::Render();
|
||||
ImDrawData* draw_data = ImGui::GetDrawData();
|
||||
if (geometries_.size() < draw_data->CmdListsCount)
|
||||
if ((int)geometries_.size() < draw_data->CmdListsCount)
|
||||
geometries_.resize(draw_data->CmdListsCount, 0);
|
||||
for (int n = 0; n < draw_data->CmdListsCount; n++) {
|
||||
const ImDrawList* cmd_list = draw_data->CmdLists[n];
|
||||
|
|
Loading…
Reference in New Issue