mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 02:18:30 +01:00
glfwSetWindowMaximizeCallback is added in 3.3
This commit is contained in:
parent
5400a4e18a
commit
6130428989
@ -135,11 +135,11 @@ int sdrpp_main() {
|
||||
glfwMakeContextCurrent(window);
|
||||
glfwSwapInterval(1); // Enable vsync
|
||||
|
||||
#if (GLFW_VERSION_MAJOR == 3) && (GLFW_VERSION_MINOR >= 3)
|
||||
if (maximized) {
|
||||
glfwMaximizeWindow(window);
|
||||
}
|
||||
|
||||
#if (GLFW_VERSION_MINOR == 3) && (GLFW_VERSION_MINOR >= 2)
|
||||
glfwSetWindowMaximizeCallback(window, maximized_callback);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user