TheCherno / Hazel

Hazel Engine
Apache License 2.0
11.63k stars 1.5k forks source link

Update ImGuiLayer.cpp #659

Closed littlecaca closed 8 months ago

littlecaca commented 8 months ago

https://github.com/TheCherno/Hazel/blob/1feb70572fa87fa1c4ba784a2cfeada5b4a500db/Hazel/src/Hazel/ImGui/ImGuiLayer.cpp#L100-L101 This is redundant because the "ImGui_ImplGlfw_NewFrame();" has done this work. https://github.com/TheCherno/imgui/blob/3cf61f67de73153e29e0c26f23d80edbaf120a3d/examples/imgui_impl_glfw.cpp#L473-L477