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

@ -54,7 +54,7 @@
#ifdef CONFIG_OPENGL
// libGL
#include <GL/glx.h>
#include "backend/gl/glx.h"
// Workarounds for missing definitions in some broken GL drivers, thanks to
// douglasp and consolers for reporting