Blacklist more glx.h prototypes just in case

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-02-09 00:52:45 +00:00
parent 136ce7c9e8
commit 39faac0f83
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 4 additions and 0 deletions

View File

@ -4,8 +4,12 @@
#include <stdbool.h> #include <stdbool.h>
// Older version of glx.h defines function prototypes... // Older version of glx.h defines function prototypes...
#define glXSwapIntervalMESA glXSwapIntervalMESA_ #define glXSwapIntervalMESA glXSwapIntervalMESA_
#define glXBindTexImageEXT glXBindTexImageEXT_
#define glXReleaseTexImageEXT glXReleaseTexImageEXT
#include <GL/glx.h> #include <GL/glx.h>
#undef glXSwapIntervalMESA #undef glXSwapIntervalMESA
#undef glXBindTexImageEXT
#undef glXReleaseTexImageEXT
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <xcb/xcb.h> #include <xcb/xcb.h>
#include <xcb/render.h> #include <xcb/render.h>