From f6a1289dbc60dfbf31da2fa5203475e41d1c5e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Fri, 28 Oct 2022 12:16:49 -0700 Subject: [PATCH] Fixed amalgmated build on Linux. --- src/glcontext_glx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/glcontext_glx.cpp b/src/glcontext_glx.cpp index 5c816e775..4dd21ca01 100644 --- a/src/glcontext_glx.cpp +++ b/src/glcontext_glx.cpp @@ -12,8 +12,9 @@ # define GLX_GLXEXT_PROTOTYPES # include -// will include X11 which #defines None... +// glxext will include X11 which #defines None, Status, etc. #undef None +#undef Status namespace bgfx { namespace gl {