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

@@ -9,7 +9,8 @@
#include <unistd.h>
#ifdef CONFIG_OPENGL
#include <GL/glx.h>
#include <GL/gl.h>
#include "backend/gl/glx.h"
#include "backend/gl/gl_common.h"
#endif