summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/util
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-02-13 11:39:58 +0000
committerMichel Dänzer <michel@tungstengraphics.com>2008-02-13 11:39:58 +0000
commite922adbe1d6c1764968377658ea92ae6de0585db (patch)
tree7260e77f9696a8752d3800a0a616b8f461d4d871 /src/mesa/pipe/util
parent4bb1a14d901fcddb25efeeff49c4dea8ca872f73 (diff)
gallium: pipe->surface_copy can flip the contents vertically when necessary.
Fixes gears being upside down on the box in demos/gearbox.
Diffstat (limited to 'src/mesa/pipe/util')
-rw-r--r--src/mesa/pipe/util/p_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/util/p_util.c b/src/mesa/pipe/util/p_util.c
index c4882b77d2..2a92f8e408 100644
--- a/src/mesa/pipe/util/p_util.c
+++ b/src/mesa/pipe/util/p_util.c
@@ -47,9 +47,9 @@ pipe_copy_rect(ubyte * dst,
unsigned width,
unsigned height,
const ubyte * src,
- unsigned src_pitch,
+ int src_pitch,
unsigned src_x,
- unsigned src_y)
+ int src_y)
{
unsigned i;