mirror of
https://github.com/ocornut/imgui.git
synced 2025-09-16 16:28:23 +00:00
Backends: GLFW: fixed imgui_impl_glfw.cpp being affected by X headers '#define Status' leak since 6b2cdf2
. (#8884)
This commit is contained in:
@@ -137,6 +137,7 @@
|
|||||||
#define GLFW_EXPOSE_NATIVE_WAYLAND
|
#define GLFW_EXPOSE_NATIVE_WAYLAND
|
||||||
#endif
|
#endif
|
||||||
#include <GLFW/glfw3native.h> // for getting the X11/Wayland window
|
#include <GLFW/glfw3native.h> // for getting the X11/Wayland window
|
||||||
|
#undef Status // X11 headers are leaking this.
|
||||||
#endif
|
#endif
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <unistd.h> // for usleep()
|
#include <unistd.h> // for usleep()
|
||||||
|
Reference in New Issue
Block a user