Mesa (master): draw: use gallium's TRUE/FALSE

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 23 16:00:33 PDT 2010


Module: Mesa
Branch: master
Commit: bf2d2772a21748b6279c1fc3397ab75450aff74e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf2d2772a21748b6279c1fc3397ab75450aff74e

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 23 11:32:08 2010 -0600

draw: use gallium's TRUE/FALSE

---

 .../auxiliary/draw/draw_pt_fetch_shade_pipeline.c  |    2 +-
 .../draw/draw_pt_fetch_shade_pipeline_llvm.c       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
index 047e192..24c538b 100644
--- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
+++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
@@ -103,7 +103,7 @@ static void fetch_pipeline_prepare( struct draw_pt_middle_end *middle,
 			    (boolean)draw->bypass_clipping,
 			    (boolean)draw->identity_viewport,
 			    (boolean)draw->rasterizer->gl_rasterization_rules,
-			    (draw->vs.edgeflag_output ? true : false) );
+			    (draw->vs.edgeflag_output ? TRUE : FALSE) );
 
    draw_pt_so_emit_prepare( fpme->so_emit );
 
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c
index 774fb7b..c7f7639 100644
--- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c
+++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c
@@ -109,7 +109,7 @@ llvm_middle_end_prepare( struct draw_pt_middle_end *middle,
 			    (boolean)draw->bypass_clipping,
 			    (boolean)(draw->identity_viewport),
 			    (boolean)draw->rasterizer->gl_rasterization_rules,
-			    (draw->vs.edgeflag_output ? true : false) );
+			    (draw->vs.edgeflag_output ? TRUE : FALSE) );
 
    draw_pt_so_emit_prepare( fpme->so_emit );
 



More information about the mesa-commit mailing list