Wayland: Make sure the cursor buffer is valid

Fixes #645.
master
Emmanuel Gil Peyrot ago%!(EXTRA string=10 years) committed by Camilla Berglund
parent 580c7da559
commit 9ac9c61433
  1. 1
      src/wl_window.c

@ -522,6 +522,7 @@ void _glfwPlatformDestroyCursor(_GLFWcursor* cursor)
if (cursor->wl.image)
return;
if (cursor->wl.buffer)
wl_buffer_destroy(cursor->wl.buffer);
}

Loading…
Cancel
Save