Remove a check for DRI3 in glamor_name_from_pixmap(). This makes DRI2 work

on OpenBSD where we don't have support for DRI3 yet.

ok jsg@, matthieu@
This commit is contained in:
kettenis 2015-12-01 21:18:47 +00:00
parent bfcc545caa
commit 2e2a8984c6

View File

@ -715,7 +715,7 @@ glamor_name_from_pixmap(PixmapPtr pixmap, CARD16 *stride, CARD32 *size)
glamor_get_screen_private(pixmap->drawable.pScreen);
pixmap_priv = glamor_get_pixmap_private(pixmap);
if (pixmap_priv == NULL || !glamor_priv->dri3_enabled)
if (pixmap_priv == NULL)
return -1;
switch (pixmap_priv->type) {
case GLAMOR_TEXTURE_DRM: