summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/common.h')
-rw-r--r--video/out/opengl/common.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h
index 258e6b30c0..11cc37ba8a 100644
--- a/video/out/opengl/common.h
+++ b/video/out/opengl/common.h
@@ -31,28 +31,12 @@
#include "video/mp_image.h"
-#if HAVE_GL_COCOA
-#define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED 1
-#include <OpenGL/gl.h>
-#include <OpenGL/gl3.h>
-#include <OpenGL/glext.h>
-#elif HAVE_IOS_GL
-#include <OpenGLES/ES2/glext.h>
-#include <OpenGLES/ES3/glext.h>
-#elif HAVE_STANDARD_GLES3
-#include <GLES3/gl3.h>
-#else
-#include <GL/gl.h>
-#include <GL/glext.h>
-#endif
+#include "gl_headers.h"
#if HAVE_GL_WIN32
#include <windows.h>
#endif
-#define MP_GET_GL_WORKAROUNDS
-#include "header_fixes.h"
-
struct GL;
typedef struct GL GL;