mirror of
https://github.com/glfw/glfw.git
synced 2025-04-05 21:45:08 +00:00
Wayland: Remove superfluous initialize to NULL
The whole window struct has already been cleared to zero.
(cherry picked from commit 216ea3d735
)
This commit is contained in:
parent
eb6fc17746
commit
1fa4312b29
1 changed files with 0 additions and 2 deletions
|
@ -944,8 +944,6 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
|
|||
}
|
||||
}
|
||||
|
||||
window->wl.currentCursor = NULL;
|
||||
|
||||
window->wl.monitors = calloc(1, sizeof(_GLFWmonitor*));
|
||||
window->wl.monitorsCount = 0;
|
||||
window->wl.monitorsSize = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue