gallium: make pipe_box signed in order to represent flipped blits
authorMarek Olšák <maraeo@gmail.com>
Sat, 4 Aug 2012 01:14:14 +0000 (03:14 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 15 Aug 2012 17:20:57 +0000 (19:20 +0200)
This will be used by u_blitter.

src/gallium/include/pipe/p_state.h

index c828c806aef97dbfa71760d0b28986b8e0c1953f..76559ad26491a6c03dfe15944cbd9eae5400378d 100644 (file)
@@ -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;
 };