mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
[614/906] try GLX first when using ANY | OPENGL | OPENGL3
This commit is contained in:
parent
48ccfcc918
commit
d7d1627229
1 changed files with 2 additions and 1 deletions
|
@ -229,7 +229,8 @@ gst_gl_window_x11_new (GstGLRendererAPI render_api,
|
||||||
#ifdef HAVE_EGL
|
#ifdef HAVE_EGL
|
||||||
/* try GLX first for Desktop OpenGL */
|
/* try GLX first for Desktop OpenGL */
|
||||||
if (render_api == GST_GL_RENDERER_API_OPENGL
|
if (render_api == GST_GL_RENDERER_API_OPENGL
|
||||||
|| render_api == GST_GL_RENDERER_API_OPENGL3) {
|
|| render_api == GST_GL_RENDERER_API_OPENGL3
|
||||||
|
|| render_api == GST_GL_RENDERER_API_ANY) {
|
||||||
if (!window && user_glx)
|
if (!window && user_glx)
|
||||||
window =
|
window =
|
||||||
GST_GL_WINDOW_X11 (gst_gl_window_x11_glx_new (render_api,
|
GST_GL_WINDOW_X11 (gst_gl_window_x11_glx_new (render_api,
|
||||||
|
|
Loading…
Reference in a new issue