summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/xorg_dri2.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-03-13 10:38:41 +0000
committerJakob Bornecrantz <jakob@vmware.com>2009-03-13 01:38:20 +0100
commitf500f3a72c6be61ff9b8e1166f734e408d00aded (patch)
treed299b32bba7cc7d2d06380a5ef72d17269da1137 /src/gallium/state_trackers/xorg/xorg_dri2.c
parentf786e46cf4fbf50a1cacfb81e22ee155ffe6edd3 (diff)
gallium: Remove do_flip argument from surface_copy
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_dri2.c')
-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 b9993b1ea1..d04204e1bf 100644
--- a/src/gallium/state_trackers/xorg/xorg_dri2.c
+++ b/src/gallium/state_trackers/xorg/xorg_dri2.c
@@ -173,7 +173,7 @@ driCopyRegion(DrawablePtr pDraw, RegionPtr pRegion,
ms->screen->get_tex_surface(ms->screen, src_priv->tex, 0, 0, 0,
PIPE_BUFFER_USAGE_GPU_READ);
- ms->ctx->surface_copy(ms->ctx, 0, dst_surf, 0, 0, src_surf,
+ ms->ctx->surface_copy(ms->ctx, dst_surf, 0, 0, src_surf,
0, 0, pDraw->width, pDraw->height);
pipe_surface_reference(&dst_surf, NULL);