summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_vertex.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2008-12-30 17:21:15 +0000
committerJosé Fonseca <jfonseca@vmware.com>2008-12-30 17:21:15 +0000
commit72f993b5b11174c2917af29ef7a86e7866d681fb (patch)
treee8fa9345d7f9d2b42a22cf79f824bd202c54c136 /src/gallium/auxiliary/draw/draw_vertex.h
parent0e0fb49c4515e14c54f23c1d3f8b2e981fe404a2 (diff)
draw: Do not specify types in bitfields.
As advised by gcc -pedantic.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vertex.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_vertex.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vertex.h b/src/gallium/auxiliary/draw/draw_vertex.h
index a943607d7e..c143cf2372 100644
--- a/src/gallium/auxiliary/draw/draw_vertex.h
+++ b/src/gallium/auxiliary/draw/draw_vertex.h
@@ -81,9 +81,9 @@ struct vertex_info
* memcmp() comparisons.
*/
struct {
- ubyte interp_mode:4; /**< INTERP_x */
- ubyte emit:4; /**< EMIT_x */
- ubyte src_index; /**< map to post-xform attribs */
+ unsigned interp_mode:4; /**< INTERP_x */
+ unsigned emit:4; /**< EMIT_x */
+ unsigned src_index:8; /**< map to post-xform attribs */
} attrib[PIPE_MAX_SHADER_INPUTS];
};