projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8836091
)
gallium: actually flip the coordinates
author
Zack Rusin
<zack@tungstengraphics.com>
Thu, 6 Nov 2008 21:07:28 +0000
(16:07 -0500)
committer
Zack Rusin
<zack@tungstengraphics.com>
Thu, 6 Nov 2008 21:07:28 +0000
(16:07 -0500)
src/gallium/auxiliary/util/u_rect.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_rect.c
b/src/gallium/auxiliary/util/u_rect.c
index f5619ef791d860ea89e37e00b331b6bce81fa472..30f32413d79217949ccc0751d7cd0795ea92cfbf 100644
(file)
--- a/
src/gallium/auxiliary/util/u_rect.c
+++ b/
src/gallium/auxiliary/util/u_rect.c
@@
-222,7
+222,8
@@
util_surface_copy(struct pipe_context *pipe,
w, h,
src_map,
do_flip ? -(int) src->stride : src->stride,
- src_x, src_y);
+ src_x,
+ do_flip ? w - src_y : src_y);
}
pipe->screen->surface_unmap(pipe->screen, src);