mirror of
https://github.com/glfw/glfw.git
synced 2025-04-05 13:35:07 +00:00
Wayland: Remove window monitor array pre-alloc
The array will be allocated by surfaceHandleEnter when needed.
(cherry picked from commit 12c2ccd609
)
This commit is contained in:
parent
1fa4312b29
commit
0c46a730de
1 changed files with 0 additions and 4 deletions
|
@ -944,10 +944,6 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
|
|||
}
|
||||
}
|
||||
|
||||
window->wl.monitors = calloc(1, sizeof(_GLFWmonitor*));
|
||||
window->wl.monitorsCount = 0;
|
||||
window->wl.monitorsSize = 1;
|
||||
|
||||
return GLFW_TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue