summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/context.h')
-rw-r--r--video/out/opengl/context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/opengl/context.h b/video/out/opengl/context.h
index ecb9d9c033..92b9da0432 100644
--- a/video/out/opengl/context.h
+++ b/video/out/opengl/context.h
@@ -27,12 +27,13 @@
#include "common.h"
enum {
- VOFLAG_GLES = 1 << 0, // Hint to create a GLES2 context
+ VOFLAG_GLES = 1 << 0, // Hint to create a GLES context
VOFLAG_NO_GLES = 1 << 1, // Hint to create a desktop GL context
VOFLAG_GL_DEBUG = 1 << 2, // Hint to request debug OpenGL context
VOFLAG_ALPHA = 1 << 3, // Hint to request alpha framebuffer
VOFLAG_SW = 1 << 4, // Hint to accept a software GL renderer
VOFLAG_PROBING = 1 << 6, // The backend is being auto-probed.
+ VOFLAG_GLES2 = 1 << 7, // Hint for GLESv2 (needs VOFLAG_GLES)
};
extern const int mpgl_preferred_gl_versions[];