projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7a3d3c
)
mesa: silence gcc bit-field warning
author
Gary Wong
<gtw@gnu.org>
Wed, 2 Sep 2009 16:11:15 +0000
(10:11 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 2 Sep 2009 16:11:15 +0000
(10:11 -0600)
src/mesa/main/texenvprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texenvprogram.c
b/src/mesa/main/texenvprogram.c
index d5343d44db47f23c0614d7147b757c30c356f9e4..b4923e904db00ca0e937fd955606a2e7063d34b4 100644
(file)
--- 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 */