1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Wayland: Remove superfluous initialize to NULL

The whole window struct has already been cleared to zero.
This commit is contained in:
Camilla Löwy 2021-12-27 18:20:30 +01:00
parent c1ecd4673e
commit 216ea3d735

View File

@ -806,8 +806,6 @@ int _glfwCreateWindowWayland(_GLFWwindow* window,
}
}
window->wl.currentCursor = NULL;
window->wl.monitors = _glfw_calloc(1, sizeof(_GLFWmonitor*));
window->wl.monitorsCount = 0;
window->wl.monitorsSize = 1;