mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +00:00
Remove dead code.
This commit is contained in:
parent
232fb5aaa4
commit
258fd73e6e
@ -149,17 +149,6 @@ void Backend::EndFrame()
|
||||
glClear( GL_COLOR_BUFFER_BIT );
|
||||
ImGui_ImplOpenGL3_RenderDrawData( ImGui::GetDrawData() );
|
||||
|
||||
// Update and Render additional Platform Windows
|
||||
// (Platform functions may change the current OpenGL context, so we save/restore it to make it easier to paste this code elsewhere.
|
||||
// For this specific demo app we could also call glfwMakeContextCurrent(window) directly)
|
||||
if( ImGui::GetIO().ConfigFlags & ImGuiConfigFlags_ViewportsEnable )
|
||||
{
|
||||
GLFWwindow* backup_current_context = glfwGetCurrentContext();
|
||||
ImGui::UpdatePlatformWindows();
|
||||
ImGui::RenderPlatformWindowsDefault();
|
||||
glfwMakeContextCurrent( backup_current_context );
|
||||
}
|
||||
|
||||
glfwSwapBuffers( s_window );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user