summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorGary Wong <[email protected]>2009-09-02 10:11:15 -0600
committerBrian Paul <[email protected]>2009-09-02 10:11:15 -0600
commitd98b9f4edbbee1654b66c8df7b1deeb401b3dc5f (patch)
treeec73bb201a17935cde5e661f192e654c03b9d6bb /src/mesa/main
parenta7a3d3c27144595b2134f4271996cba901938d12 (diff)
mesa: silence gcc bit-field warning
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texenvprogram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index d5343d44db4..b4923e904db 100644
--- a/src/mesa/main/texenvprogram.c
+++ b/src/mesa/main/texenvprogram.c
@@ -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 */