From 205d344e2a2f0c9ea982b037ab68feab06cbebb1 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 28 Aug 2009 11:43:19 +0200 Subject: Revert "st/xorg/dri: Pass texture formats via the DRI2 protocol flags." This reverts commit a33e9ea3b9b7ac98d6e9bc385bbbe7eac2eb73d0. As this change breaks both radeon and nouveau --- src/gallium/state_trackers/xorg/xorg_dri2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/state_trackers/xorg') diff --git a/src/gallium/state_trackers/xorg/xorg_dri2.c b/src/gallium/state_trackers/xorg/xorg_dri2.c index 1a4677b50e5..3aea37a06fb 100644 --- a/src/gallium/state_trackers/xorg/xorg_dri2.c +++ b/src/gallium/state_trackers/xorg/xorg_dri2.c @@ -141,7 +141,7 @@ driCreateBuffers(DrawablePtr pDraw, unsigned int *attachments, int count) buffers[i].pitch = stride; buffers[i].cpp = 4; buffers[i].driverPrivate = &privates[i]; - buffers[i].flags = tex->format; + buffers[i].flags = 0; /* not tiled */ privates[i].pPixmap = pPixmap; privates[i].buf = buf; privates[i].tex = tex; -- cgit v1.2.3