Skip to content

Commit b164e49

Browse files
authored
Merge pull request #88 from madebr/fix_imguitest
examples: fix imguitest
2 parents 7c105b9 + 36da104 commit b164e49

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/imguitest/main.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,12 @@ Draw(float timeDelta)
109109

110110

111111
ImGui::EndFrame();
112-
113112
ImGui::Render();
114113

114+
ImGui_ImplRW_RenderDrawLists(ImGui::GetDrawData());
115+
115116
Scene.camera->endUpdate();
116117
Scene.camera->showRaster(0);
117-
118-
ImGui_ImplRW_RenderDrawLists(ImGui::GetDrawData());
119118
}
120119

121120

0 commit comments

Comments
 (0)