Backends: GLFW: fixed building on Linux platforms where Wayland headers are not available. (#9024, #8969, #8921, #8920)

This commit is contained in:
ocornut
2025-10-20 23:57:09 +02:00
parent 63bfad401f
commit b46f099a3f
2 changed files with 2 additions and 3 deletions

View File

@@ -126,9 +126,6 @@
#ifndef GLFW_EXPOSE_NATIVE_X11 // for glfwGetX11Display(), glfwGetX11Window() on Freedesktop (Linux, BSD, etc.)
#define GLFW_EXPOSE_NATIVE_X11
#endif
#ifndef GLFW_EXPOSE_NATIVE_WAYLAND
#define GLFW_EXPOSE_NATIVE_WAYLAND
#endif
#include <GLFW/glfw3native.h>
#endif
#undef Status // X11 headers are leaking this.