{
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];
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:
r300render->vertex_size = vertex_size;
if (r300render->vbo) {
- return true;
+ return TRUE;
} else {
- return false;
+ return FALSE;
}
}
r300render->hwprim = R300_VAP_VF_CNTL__PRIM_POLYGON;
break;
default:
- return false;
+ return FALSE;
break;
}
- return true;
+ return TRUE;
}
static void prepare_render(struct r300_swtcl_render* render)