summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-04 12:55:21 -0700
committerVinson Lee <[email protected]>2010-08-04 12:55:21 -0700
commit988e86762f07eb8b685eef6f3302566f604db2a6 (patch)
tree1c2d11d37749f8925afb7b94ff70babd1c9f5d24
parent137c510097503e590cf8b30d2b97e617b9a1543b (diff)
draw: Fix return type of draw_translate_vinfo_size.
Fixes typo from commit b609cfc7c9c38f26e7e6d6f7dd5dd6d38f4ed209.
-rw-r--r--src/gallium/auxiliary/draw/draw_vertex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vertex.h b/src/gallium/auxiliary/draw/draw_vertex.h
index 3af31ffe126..e63cf5f4f98 100644
--- a/src/gallium/auxiliary/draw/draw_vertex.h
+++ b/src/gallium/auxiliary/draw/draw_vertex.h
@@ -166,7 +166,7 @@ static INLINE enum pipe_format draw_translate_vinfo_format(enum attrib_emit emit
}
}
-static INLINE enum attrib_emit draw_translate_vinfo_size(enum attrib_emit emit)
+static INLINE unsigned draw_translate_vinfo_size(enum attrib_emit emit)
{
switch (emit) {
case EMIT_OMIT: