summaryrefslogtreecommitdiff
path: root/hw/kdrive
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2021-08-17 12:41:08 -0400
committerPovilas Kanapickas <povilas@radix.lt>2021-09-15 19:14:23 +0000
commit7d5b4c5405c3fb1a1b7906c02ced81880916199e (patch)
tree5e2037cfd40483d577bd084694b84aa7bb6b1e39 /hw/kdrive
parentabda3f42337118f5e904853c60221f4775b75e05 (diff)
glamor: Require EGL_KHR_no_config_context
This is not actually a change for xwayland with gbm, or for xfree86 with big-GL, but we do change them as well to use EGL_NO_CONFIG_KHR explicitly. Reviewed-by: Emma Anholt <emma@anholt.net>
Diffstat (limited to 'hw/kdrive')
-rw-r--r--hw/kdrive/ephyr/ephyr_glamor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kdrive/ephyr/ephyr_glamor.c b/hw/kdrive/ephyr/ephyr_glamor.c
index 44e48ff59..724611d69 100644
--- a/hw/kdrive/ephyr/ephyr_glamor.c
+++ b/hw/kdrive/ephyr/ephyr_glamor.c
@@ -325,7 +325,7 @@ ephyr_glamor_screen_init(xcb_window_t win, xcb_visualid_t vid)
context_attribs[i++] = ephyr_glamor_gles2 ? 0 : 1;
context_attribs[i++] = EGL_NONE;
- ctx = eglCreateContext(glamor->dpy, config, EGL_NO_CONTEXT,
+ ctx = eglCreateContext(glamor->dpy, EGL_NO_CONFIG_KHR, EGL_NO_CONTEXT,
context_attribs);
if (ctx == NULL)