diff options
Diffstat (limited to 'src/waffle/wgl/wgl_config.c')
-rw-r--r-- | src/waffle/wgl/wgl_config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/waffle/wgl/wgl_config.c b/src/waffle/wgl/wgl_config.c index 9dea991..59a70a6 100644 --- a/src/waffle/wgl/wgl_config.c +++ b/src/waffle/wgl/wgl_config.c @@ -118,8 +118,10 @@ wgl_config_check_context_attrs(struct wgl_display *dpy, assert(attrs->context_major_version == 2); assert(!attrs->context_forward_compatible); - if (!dpy->EXT_create_context_es2_profile) { + if (!dpy->EXT_create_context_es2_profile + && !dpy->EXT_create_context_es_profile) { wcore_errorf(WAFFLE_ERROR_UNSUPPORTED_ON_PLATFORM, + "WGL_EXT_create_context_es_profile or " "WGL_EXT_create_context_es2_profile is required " "to create an OpenGL ES2 context"); return false; |