summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-13 23:40:52 +0200
committerwm4 <wm4@nowhere>2015-05-14 00:05:39 +0200
commit10de9b091a59e4831bb3fbfc46eb1d3c7558c9d8 (patch)
treedbb20ff7a385a8992f11cc036658a9f3dbf4b2c9 /video/out/vo.h
parent27da344e6f88166a236da0e3c2163c05125e4cb3 (diff)
downloadmpv-10de9b091a59e4831bb3fbfc46eb1d3c7558c9d8.tar.bz2
mpv-10de9b091a59e4831bb3fbfc46eb1d3c7558c9d8.tar.xz
vo_opengl: change user options for requesting GLES
Instead of having separate backends, make use of GLES a flag. This reduces the number of backends and the resulting annoyances. Also, nobody cares about using GLES, so there's no backward compatibility either.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index c2aee9aedd..167c08a69c 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -131,6 +131,7 @@ struct voctrl_get_equalizer_args {
#define VO_NOTIMPL -3
#define VOFLAG_HIDDEN 0x10 //< Use to create a hidden window
+#define VOFLAG_GLES 0x20 // Hint to prefer GLES2 if possible
#define VOFLAG_GL_DEBUG 0x40 // Hint to request debug OpenGL context
#define VOFLAG_ALPHA 0x80 // Hint to request alpha framebuffer