Enabling OpenGL Multisampling for antialiasing

This commit is contained in:
brunoherbelin
2020-05-16 16:01:01 +02:00
parent 22a6dc63e9
commit 610e68c697
5 changed files with 34 additions and 20 deletions

View File

@@ -253,13 +253,13 @@ void UserInterface::handleKeyboard()
Mixer::manager().setCurrentView(View::MIXING);
else if (ImGui::IsKeyPressed( GLFW_KEY_F2 ))
Mixer::manager().setCurrentView(View::GEOMETRY);
else if (ImGui::IsKeyPressed( GLFW_KEY_F12 ))
else if (ImGui::IsKeyPressed( GLFW_KEY_F11 ))
Rendering::manager().ToggleFullscreen();
else if (ImGui::IsKeyPressed( GLFW_KEY_ESCAPE )){
if (Rendering::manager().IsFullscreen())
Rendering::manager().ToggleFullscreen();
}
else if (ImGui::IsKeyPressed( GLFW_KEY_PRINT_SCREEN ))
else if (ImGui::IsKeyPressed( GLFW_KEY_F12 ))
toolbox.StartScreenshot();
}