summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-08-06 00:01:18 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-08-06 00:52:13 +0100
commitb6c65516865aa331b066a6516d553c9fca314670 (patch)
tree28386b1b5d2d3037bc0fcc19b36553ad3aeafb4e /src/gallium
parentb6c9401f138720adaebde90ec7b1805eae441fc7 (diff)
st/xorg: If we have DRI2 we should also have some sort of hw support
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_dri2.c b/src/gallium/state_trackers/xorg/xorg_dri2.c
index 49a63def71..301e5214e3 100644
--- a/src/gallium/state_trackers/xorg/xorg_dri2.c
+++ b/src/gallium/state_trackers/xorg/xorg_dri2.c
@@ -178,7 +178,7 @@ driCopyRegion(DrawablePtr pDraw, RegionPtr pRegion,
ms->screen->get_tex_surface(ms->screen, src_priv->tex, 0, 0, 0,
PIPE_BUFFER_USAGE_GPU_READ);
-#if 0
+#if 1
ms->ctx->surface_copy(ms->ctx, dst_surf, 0, 0, src_surf,
0, 0, pDraw->width, pDraw->height);
#else