[Mesa-dev] [PATCH 3/8] svga: change svga_hw_view_state::dirty to boolean

Brian Paul brianp at vmware.com
Mon Jan 4 16:49:28 PST 2016


Since it's a true/false value.
---
 src/gallium/drivers/svga/svga_context.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h
index d21b071..e4f29b8 100644
--- a/src/gallium/drivers/svga/svga_context.h
+++ b/src/gallium/drivers/svga/svga_context.h
@@ -314,7 +314,7 @@ struct svga_hw_view_state
    struct svga_sampler_view *v;
    unsigned min_lod;
    unsigned max_lod;
-   int dirty;
+   boolean dirty;
 };
 
 /* Updated by calling svga_update_state( SVGA_STATE_HW_DRAW )
-- 
1.9.1



More information about the mesa-dev mailing list