summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-08-04 03:14:14 +0200
committerMarek Olšák <[email protected]>2012-08-15 19:20:57 +0200
commit1a17c4234431a17ec60503d69d7e84f85b3ae50d (patch)
tree8a7cb0ef5a3fc7fa43a654f1eea855dbde549578 /src/gallium/include
parent03b78ceb50b97611bcaa2d2354ff5b505306b0a1 (diff)
gallium: make pipe_box signed in order to represent flipped blits
This will be used by u_blitter.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_state.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index c828c806aef..76559ad2649 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -387,12 +387,12 @@ struct pipe_sampler_view
*/
struct pipe_box
{
- unsigned x;
- unsigned y;
- unsigned z;
- unsigned width;
- unsigned height;
- unsigned depth;
+ int x;
+ int y;
+ int z;
+ int width;
+ int height;
+ int depth;
};