Prevent GL/glx.h from defining prototypes

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-02-09 00:36:14 +00:00
parent 4c99ecfde4
commit 136ce7c9e8
12 changed files with 10 additions and 13 deletions

View File

@ -13,7 +13,7 @@
#include "options.h"
#ifdef CONFIG_OPENGL
#include <GL/glx.h>
#include "backend/gl/glx.h"
#include "opengl.h"
#endif
@ -29,7 +29,6 @@
#include "x.h"
#include "backend/backend_common.h"
#include "backend/gl/glx.h"
#include "render.h"
/**