summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state_derived.c
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-27 10:46:14 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-27 12:25:09 -0800
commitfd5411fe362a398ab0506c2becdd5953711476d5 (patch)
tree2aa5c55ab941cf793576653d6790771bb8af3615 /src/gallium/drivers/r300/r300_state_derived.c
parent67025f789324163a69771436e852975d3acbcd86 (diff)
r300-gallium: Turn true and false into TRUE and FALSE.
Match the rest of Gallium.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_derived.c')
-rw-r--r--src/gallium/drivers/r300/r300_state_derived.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c
index c4f56627c3..dcf0990934 100644
--- a/src/gallium/drivers/r300/r300_state_derived.c
+++ b/src/gallium/drivers/r300/r300_state_derived.c
@@ -59,7 +59,7 @@ static void r300_update_vertex_layout(struct r300_context* r300)
{
struct r300_vertex_format vformat;
struct vertex_info vinfo;
- boolean pos = false, psize = false, fog = false;
+ boolean pos = FALSE, psize = FALSE, fog = FALSE;
int i, texs = 0, cols = 0;
int tab[16];
@@ -75,17 +75,17 @@ static void r300_update_vertex_layout(struct r300_context* r300)
for (i = 0; i < info->num_inputs; i++) {
switch (info->input_semantic_name[i]) {
case TGSI_SEMANTIC_POSITION:
- pos = true;
+ pos = TRUE;
tab[i] = 0;
break;
case TGSI_SEMANTIC_COLOR:
tab[i] = 2 + cols++;
break;
case TGSI_SEMANTIC_FOG:
- fog = true;
+ fog = TRUE;
break;
case TGSI_SEMANTIC_PSIZE:
- psize = true;
+ psize = TRUE;
tab[i] = 1;
break;
case TGSI_SEMANTIC_GENERIC: