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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h
index 38414fe18b..c3691cfaf8 100644
--- a/video/out/opengl/common.h
+++ b/video/out/opengl/common.h
@@ -70,6 +70,8 @@ enum {
#define MPGL_VER_P(ver) MPGL_VER_GET_MAJOR(ver), MPGL_VER_GET_MINOR(ver)
+void mpgl_check_version(GL *gl, void *(*get_fn)(void *ctx, const char *n),
+ void *fn_ctx);
void mpgl_load_functions(GL *gl, void *(*getProcAddress)(const GLubyte *),
const char *ext2, struct mp_log *log);
void mpgl_load_functions2(GL *gl, void *(*get_fn)(void *ctx, const char *n),