diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/out/gl_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c index 2af96cab5a..a8f06f7b6b 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -541,7 +541,7 @@ void mpgl_load_functions2(GL *gl, void *(*get_fn)(void *ctx, const char *n), // This version doesn't have GL_ARB_compatibility yet, and always // includes legacy (except with CONTEXT_FORWARD_COMPATIBLE_BIT_ARB). - if (gl->version == MPGL_VER(3, 0)) + if (gl->version == MPGL_VER(3, 0) && !gl->es) has_legacy = true; } else { const char *ext = (char*)gl->GetString(GL_EXTENSIONS); |