summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/context.c')
-rw-r--r--video/out/opengl/context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c
index d9b3925983..07fa183acc 100644
--- a/video/out/opengl/context.c
+++ b/video/out/opengl/context.c
@@ -62,7 +62,8 @@ const struct m_sub_options opengl_conf = {
OPT_FLAG("opengl-glfinish", use_glfinish, 0),
OPT_FLAG("opengl-waitvsync", waitvsync, 0),
OPT_INT("opengl-swapinterval", swapinterval, 0),
- OPT_INTPAIR("opengl-check-pattern", vsync_pattern, 0),
+ OPT_INT("opengl-check-pattern-a", vsync_pattern[0], 0),
+ OPT_INT("opengl-check-pattern-b", vsync_pattern[1], 0),
OPT_INT("opengl-restrict", restrict_version, 0),
OPT_CHOICE("opengl-es", gles_mode, 0,
({"auto", GLES_AUTO}, {"yes", GLES_YES}, {"no", GLES_NO})),