mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
Make reopen test use the GLFW_FULLSCREEN hint
This commit is contained in:
parent
f5880769fe
commit
68a4687f94
@ -76,6 +76,8 @@ static GLFWwindow* open_window(int width, int height, GLFWmonitor* monitor)
|
|||||||
|
|
||||||
base = glfwGetTime();
|
base = glfwGetTime();
|
||||||
|
|
||||||
|
glfwWindowHint(GLFW_FULLSCREEN, monitor ? GLFW_TRUE : GLFW_FALSE);
|
||||||
|
|
||||||
window = glfwCreateWindow(width, height, "Window Re-opener", monitor, NULL);
|
window = glfwCreateWindow(width, height, "Window Re-opener", monitor, NULL);
|
||||||
if (!window)
|
if (!window)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user