summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_vertex.c
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-10-29 08:35:08 -0400
committerKeith Whitwell <keith@tungstengraphics.com>2007-10-29 16:14:10 +0000
commita70c5e37f1c2e43738469e4799ad2b9e7c604782 (patch)
treeb7b9f043bf4053bb7d6eb5f9e08ab1c4b612008e /src/mesa/pipe/draw/draw_vertex.c
parent25b17b213b7ba0d1b93ec37211504ee489944ce8 (diff)
Remove typedefs from enums.
typedefs are rather evil, remove them and use the enum keyword explicitely.
Diffstat (limited to 'src/mesa/pipe/draw/draw_vertex.c')
-rw-r--r--src/mesa/pipe/draw/draw_vertex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex.c b/src/mesa/pipe/draw/draw_vertex.c
index 1204a944de..ce76cb043c 100644
--- a/src/mesa/pipe/draw/draw_vertex.c
+++ b/src/mesa/pipe/draw/draw_vertex.c
@@ -44,7 +44,7 @@
static INLINE void
emit_vertex_attr(struct vertex_info *vinfo,
- attrib_format format, interp_mode interp)
+ enum attrib_format format, enum interp_mode interp)
{
const uint n = vinfo->num_attribs;
vinfo->interp_mode[n] = interp;
@@ -95,7 +95,7 @@ draw_compute_vertex_size(struct vertex_info *vinfo)
void
draw_set_vertex_attributes( struct draw_context *draw,
const uint *slot_to_vf_attr,
- const interp_mode *interps,
+ const enum interp_mode *interps,
unsigned nr_attrs )
{
struct vertex_info *vinfo = &draw->vertex_info;