summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-12-01 21:18:48 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-12-01 21:18:48 +0000
commitbdb6c613db5485dc23f860099173815141bd1a65 (patch)
tree0e6c959e89cd4d655c01ceb31eca1449c61e666b
parente01a1f3eae1cd0907bfe216d7c213e4557e5ab2a (diff)
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@
-rw-r--r--xserver/glamor/glamor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/glamor/glamor.c b/xserver/glamor/glamor.c
index 6c2ff28d9..50317b481 100644
--- a/xserver/glamor/glamor.c
+++ b/xserver/glamor/glamor.c
@@ -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: