summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_vbo.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-11-07 10:26:57 -0800
committerCorbin Simpson <[email protected]>2009-11-07 11:53:14 -0800
commitb6c3954138ef70ea7d2cbd3ba9519f404ef616d7 (patch)
tree9c404c964502416f4a75137bce935336e8871687 /src/gallium/drivers/r300/r300_vbo.c
parent7da3cc4241b8550ccc1ec5ba3c93334094f5fb11 (diff)
r300g: s/false/FALSE/
Also s/true/TRUE/
Diffstat (limited to 'src/gallium/drivers/r300/r300_vbo.c')
-rw-r--r--src/gallium/drivers/r300/r300_vbo.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/drivers/r300/r300_vbo.c b/src/gallium/drivers/r300/r300_vbo.c
index ab6f5c59426..be74a49eb8c 100644
--- a/src/gallium/drivers/r300/r300_vbo.c
+++ b/src/gallium/drivers/r300/r300_vbo.c
@@ -84,27 +84,27 @@ static void finish_vertex_arrays_setup(struct r300_context *r300)
{
}
-static bool format_is_supported(enum pipe_format format, int nr_components)
+static boolean format_is_supported(enum pipe_format format, int nr_components)
{
if (pf_layout(format) != PIPE_FORMAT_LAYOUT_RGBAZS)
- return false;
+ return FALSE;
if ((pf_size_x(format) != pf_size_y(format)) ||
(pf_size_x(format) != pf_size_z(format)) ||
(pf_size_x(format) != pf_size_w(format)))
- return false;
+ return FALSE;
/* Following should be supported as long as stride is 4 bytes aligned */
if (pf_size_x(format) != 1 && nr_components != 4)
- return false;
+ return FALSE;
if (pf_size_x(format) != 2 && !(nr_components == 2 || nr_components == 4))
- return false;
+ return FALSE;
if (pf_size_x(format) == 3 || pf_size_x(format) > 4)
- return false;
+ return FALSE;
- return true;
+ return TRUE;
}
static INLINE int get_buffer_offset(struct r300_context *r300,