2
0
Эх сурвалжийг харах

Wayland: Remove superfluous initialize to NULL

The whole window struct has already been cleared to zero.
Camilla Löwy 3 жил өмнө
parent
commit
216ea3d735
1 өөрчлөгдсөн 0 нэмэгдсэн , 2 устгасан
  1. 0 2
      src/wl_window.c

+ 0 - 2
src/wl_window.c

@@ -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;