Wayland: Remove superfluous initialize to NULL
The whole window struct has already been cleared to zero.
This commit is contained in:
parent
c1ecd4673e
commit
216ea3d735
@ -806,8 +806,6 @@ int _glfwCreateWindowWayland(_GLFWwindow* window,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
window->wl.currentCursor = NULL;
|
|
||||||
|
|
||||||
window->wl.monitors = _glfw_calloc(1, sizeof(_GLFWmonitor*));
|
window->wl.monitors = _glfw_calloc(1, sizeof(_GLFWmonitor*));
|
||||||
window->wl.monitorsCount = 0;
|
window->wl.monitorsCount = 0;
|
||||||
window->wl.monitorsSize = 1;
|
window->wl.monitorsSize = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user