[Mesa-dev] [PATCH 03/19] gallium: make pipe_box signed in order to represent flipped blits

Marek Olšák maraeo at gmail.com
Thu Aug 9 09:07:15 PDT 2012


This will be used by u_blitter.
---
 src/gallium/include/pipe/p_state.h |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index c828c80..76559ad 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;
 };
 
 
-- 
1.7.9.5



More information about the mesa-dev mailing list