Browse Source

Platform: fix copypaste error in GLFW application.

pull/157/head
Vladimír Vondruš 10 years ago
parent
commit
563888e02e
  1. 2
      src/Magnum/Platform/GlfwApplication.cpp

2
src/Magnum/Platform/GlfwApplication.cpp

@ -89,7 +89,7 @@ bool GlfwApplication::tryCreateContext(const Configuration& configuration) {
glfwWindowHint(GLFW_ICONIFIED, flags >= Configuration::WindowFlag::Minimized);
glfwWindowHint(GLFW_FLOATING, flags >= Configuration::WindowFlag::Floating);
}
glfwWindowHint(GLFW_FLOATING, configuration.windowFlags() >= Configuration::WindowFlag::Focused);
glfwWindowHint(GLFW_FOCUSED, configuration.windowFlags() >= Configuration::WindowFlag::Focused);
/* Context window hints */
glfwWindowHint(GLFW_SAMPLES, configuration.sampleCount());

Loading…
Cancel
Save