From: Gary Wong Date: Wed, 2 Sep 2009 16:11:15 +0000 (-0600) Subject: mesa: silence gcc bit-field warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d98b9f4edbbee1654b66c8df7b1deeb401b3dc5f;p=mesa.git mesa: silence gcc bit-field warning --- 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 */