summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-02 10:12:15 -0600
committerBrian Paul <brianp@vmware.com>2009-09-02 10:12:15 -0600
commit4b08e7498230eac30eea1721f33994b30999acd4 (patch)
tree83be5f7f6a6fe6f2c3e50d7e8f375c5d32355bd8 /src
parentd98b9f4edbbee1654b66c8df7b1deeb401b3dc5f (diff)
mesa: fix the non-GNU C bit-field case
Diffstat (limited to 'src')
-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 b4923e904d..165d464e3b 100644
--- a/src/mesa/main/texenvprogram.c
+++ b/src/mesa/main/texenvprogram.c
@@ -86,8 +86,8 @@ struct mode_opt {
__extension__ GLubyte Source:4; /**< SRC_x */
__extension__ GLubyte Operand:3; /**< OPR_x */
#else
- GLubyte Source; /**< SRC_x */
- GLubyte Operand; /**< OPR_x */
+ GLuint Source; /**< SRC_x */
+ GLuint Operand; /**< OPR_x */
#endif
};