diff options
author | Brian Paul <[email protected]> | 2008-06-23 08:51:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-06-23 08:51:00 -0600 |
commit | f1601c2b75ca4c2223079f676cf796843b284df2 (patch) | |
tree | 18b75644778306deef7627da9df143d8a292a5f0 /src/gallium/drivers/i915simple/i915_surface.c | |
parent | 92d48a4cb9481adc7abd7cdf9550fbf5a9c9613d (diff) |
gallium: fix bad srcy coord if do_flip
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_surface.c')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_surface.c b/src/gallium/drivers/i915simple/i915_surface.c index 98367ac0739..1729ea26f5d 100644 --- a/src/gallium/drivers/i915simple/i915_surface.c +++ b/src/gallium/drivers/i915simple/i915_surface.c @@ -66,7 +66,7 @@ i915_surface_copy(struct pipe_context *pipe, width, height, src_map, do_flip ? -(int) src->pitch : src->pitch, - srcx, do_flip ? 1 - srcy - height : srcy); + srcx, do_flip ? height - 1 - srcy : srcy); pipe->screen->surface_unmap(pipe->screen, src); pipe->screen->surface_unmap(pipe->screen, dst); |