mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +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
@ -944,8 +944,6 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
window->wl.currentCursor = NULL;
|
|
||||||
|
|
||||||
window->wl.monitors = calloc(1, sizeof(_GLFWmonitor*));
|
window->wl.monitors = 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