mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gl: check for EGL_KHR_platform_gbm for non-MESA gbm implementations
https://bugzilla.gnome.org/show_bug.cgi?id=796694
This commit is contained in:
parent
71734b33aa
commit
1c8bf44dea
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ gst_gl_display_egl_get_from_native (GstGLDisplayType type, guintptr display)
|
|||
#if GST_GL_HAVE_WINDOW_GBM
|
||||
if (ret == EGL_NO_DISPLAY && (type & GST_GL_DISPLAY_TYPE_GBM) &&
|
||||
(gst_gl_check_extension ("EGL_MESA_platform_gbm", egl_exts) ||
|
||||
gst_gl_check_extension ("EGL_MESA_platform_gbm", egl_exts))) {
|
||||
gst_gl_check_extension ("EGL_KHR_platform_gbm", egl_exts))) {
|
||||
ret = _gst_eglGetPlatformDisplay (EGL_PLATFORM_GBM_MESA, (gpointer) display,
|
||||
NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue