summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_common.c')
-rw-r--r--video/out/gl_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c
index 1f7b51de5b..89ed0cbbd3 100644
--- a/video/out/gl_common.c
+++ b/video/out/gl_common.c
@@ -1060,8 +1060,12 @@ static void swapGlBuffers_w32(MPGLContext *ctx)
#ifdef CONFIG_GL_X11
#include <X11/Xlib.h>
#include <GL/glx.h>
+
#include "x11_common.h"
+#define MP_GET_GLX_WORKAROUNDS
+#include "gl_header_fixes.h"
+
struct glx_context {
XVisualInfo *vinfo;
GLXContext context;