summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r--video/out/gl_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h
index 622f1f2659..75ff0d5dfd 100644
--- a/video/out/gl_common.h
+++ b/video/out/gl_common.h
@@ -206,7 +206,7 @@ struct gl_hwdec_driver {
void (*destroy)(struct gl_hwdec *hw);
};
-extern const struct gl_hwdec_driver *mpgl_hwdec_drivers[];
+extern const struct gl_hwdec_driver *const mpgl_hwdec_drivers[];
void mpgl_load_functions(GL *gl, void *(*getProcAddress)(const GLubyte *),
const char *ext2, struct mp_log *log);