Mesa (master): draw: Fix return type of draw_translate_vinfo_size.

Vinson Lee vlee at kemper.freedesktop.org
Wed Aug 4 19:56:03 UTC 2010


Module: Mesa
Branch: master
Commit: 988e86762f07eb8b685eef6f3302566f604db2a6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=988e86762f07eb8b685eef6f3302566f604db2a6

Author: Vinson Lee <vlee at vmware.com>
Date:   Wed Aug  4 12:55:21 2010 -0700

draw: Fix return type of draw_translate_vinfo_size.

Fixes typo from commit b609cfc7c9c38f26e7e6d6f7dd5dd6d38f4ed209.

---

 src/gallium/auxiliary/draw/draw_vertex.h |    2 +-
 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 3af31ff..e63cf5f 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:




More information about the mesa-commit mailing list