Parcourir la source

draw: Do not specify types in bitfields.

As advised by gcc -pedantic.
tags/mesa_20090313
José Fonseca il y a 17 ans
Parent
révision
72f993b5b1
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3
    3
      src/gallium/auxiliary/draw/draw_vertex.h

+ 3
- 3
src/gallium/auxiliary/draw/draw_vertex.h Voir le fichier

@@ -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];
};


Chargement…
Annuler
Enregistrer