mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 10:05:10 +00:00
Wayland: Remove duplicate setting of user data
The surface user data is already set by wl_surface_add_listener.
This commit is contained in:
parent
4cf510511c
commit
6d9083af03
@ -733,8 +733,6 @@ static GLFWbool createNativeSurface(_GLFWwindow* window,
|
||||
&surfaceListener,
|
||||
window);
|
||||
|
||||
wl_surface_set_user_data(window->wl.surface, window);
|
||||
|
||||
window->wl.width = wndconfig->width;
|
||||
window->wl.height = wndconfig->height;
|
||||
window->wl.scale = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user