diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-05-05 12:41:00 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-05-12 12:02:48 +0200 |
commit | bc8c946f7274543ca3ed35482de4e554daccfac6 (patch) | |
tree | 45c8eeb151649bf15d5b4f1f98273cc37f35a832 /ui/egl-helpers.c | |
parent | 151c8e608efc29e4dde4a0dbc2e79ebbc86c319c (diff) |
egl: explicitly ask for core context
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20170505104101.30589-6-kraxel@redhat.com
Diffstat (limited to 'ui/egl-helpers.c')
-rw-r--r-- | ui/egl-helpers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/egl-helpers.c b/ui/egl-helpers.c index b50225158b..4a4d3370ee 100644 --- a/ui/egl-helpers.c +++ b/ui/egl-helpers.c @@ -296,6 +296,7 @@ int qemu_egl_init_dpy_mesa(EGLNativeDisplayType dpy) EGLContext qemu_egl_init_ctx(void) { static const EGLint ctx_att_gl[] = { + EGL_CONTEXT_OPENGL_PROFILE_MASK, EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT, EGL_NONE }; EGLContext ectx; |