Commit 99771a87 authored by Chad Versace's avatar Chad Versace

wgl: Fix requirements for creation of ES2 context

To create an ES2 context, Waffle required
WGL_EXT_create_context_es2_profile. Fix Waffle to require either
WGL_EXT_create_context_es_profile *or*
WGL_EXT_create_context_es2_profile, because
WGL_EXT_create_context_es_profile is an updated variant of
WGL_EXT_create_context_es2_profile that supercedes it.

Fixes #23: Jose Fonseca's avatarJosé Fonseca <>
Signed-off-by: default avatarChad Versace <>
parent b32f4875
......@@ -118,8 +118,10 @@ wgl_config_check_context_attrs(struct wgl_display *dpy,
assert(attrs->context_major_version == 2);
if (!dpy->EXT_create_context_es2_profile) {
if (!dpy->EXT_create_context_es2_profile
&& !dpy->EXT_create_context_es_profile) {
"WGL_EXT_create_context_es_profile or "
"WGL_EXT_create_context_es2_profile is required "
"to create an OpenGL ES2 context");
return false;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment