mesa: silence gcc bit-field warning

This commit is contained in:
Gary Wong
2009-09-02 10:11:15 -06:00
committed by Brian Paul
parent a7a3d3c271
commit d98b9f4edb
+2 -2
View File
@@ -83,8 +83,8 @@ texenv_doing_secondary_color(GLcontext *ctx)
struct mode_opt {
#ifdef __GNUC__
GLubyte Source:4; /**< SRC_x */
GLubyte Operand:3; /**< OPR_x */
__extension__ GLubyte Source:4; /**< SRC_x */
__extension__ GLubyte Operand:3; /**< OPR_x */
#else
GLubyte Source; /**< SRC_x */
GLubyte Operand; /**< OPR_x */