mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-21 22:30:55 +00:00
Modern kernels (v5.8+) allow non-root usage of drmDropMaster(), so we can hold on to our fd after dropping master on it. This fixes populating drm_fd in the KMSDRM SysWMinfo when using Vulkan. Also add a missing error check for open() while we're here