Quellcode durchsuchen

Wayland: Remove superfluous initialize to NULL

The whole window struct has already been cleared to zero.
Camilla Löwy vor 3 Jahren
Ursprung
Commit
216ea3d735
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  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;