x11 glcontext: Always use RGBA texture format, as we use alphas

This commit is contained in:
Alexander Larsson 2014-10-21 13:51:24 +02:00
parent 01b4720ec8
commit 82753bc72b

View File

@ -316,13 +316,7 @@ glx_pixmap_get (cairo_surface_t *surface)
GLX_BIND_TO_TEXTURE_RGBA_EXT,
&value);
if (value == FALSE)
{
glXGetFBConfigAttrib (display, fbconfigs[i],
GLX_BIND_TO_TEXTURE_RGB_EXT,
&value);
if (value == FALSE)
continue;
}
continue;
glXGetFBConfigAttrib (display, fbconfigs[i],
GLX_Y_INVERTED_EXT,