mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
Fix GLX version check.
This commit is contained in:
parent
e384639747
commit
d1332bc2e1
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ gl_create_pixmap_object(Display *dpy, guint width, guint height)
|
||||||
return NULL;
|
return NULL;
|
||||||
if (!glXQueryVersion(dpy, &glx_major, &glx_minor))
|
if (!glXQueryVersion(dpy, &glx_major, &glx_minor))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (glx_major < 0 || (glx_major == 1 && glx_minor < 3)) /* 1.3 */
|
if (glx_major < 1 || (glx_major == 1 && glx_minor < 3)) /* 1.3 */
|
||||||
return NULL;
|
return NULL;
|
||||||
gl_vtable->has_texture_from_pixmap = TRUE;
|
gl_vtable->has_texture_from_pixmap = TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue