diff options
author | Michal Krol <michal@tungstengraphics.com> | 2008-02-13 17:51:41 +0100 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-02-15 11:29:58 +0900 |
commit | d3cd39493c1e776c1e21045920744a27de2787f1 (patch) | |
tree | 9431fbcc306bee5c789c3eca98853331d1b67527 /src/mesa/pipe/i915simple | |
parent | 3f1b712d0a47b440875e58429debd9a145192724 (diff) |
gallium: Fix build on Windows.
Diffstat (limited to 'src/mesa/pipe/i915simple')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_surface.c b/src/mesa/pipe/i915simple/i915_surface.c index 6d4b8a0aa9..de0cc5fe06 100644 --- a/src/mesa/pipe/i915simple/i915_surface.c +++ b/src/mesa/pipe/i915simple/i915_surface.c @@ -99,7 +99,7 @@ i915_surface_copy(struct pipe_context *pipe, dstx, dsty, width, height, pipe_surface_map(src), - do_flip ? -src->pitch : src->pitch, + do_flip ? -(int) src->pitch : src->pitch, srcx, do_flip ? 1 - srcy - height : srcy); pipe_surface_unmap(src); |