From: Brian Paul Date: Wed, 2 Sep 2009 16:12:15 +0000 (-0600) Subject: mesa: fix the non-GNU C bit-field case X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b08e7498230eac30eea1721f33994b30999acd4;p=mesa.git mesa: fix the non-GNU C bit-field case --- diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index b4923e904db..165d464e3b7 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 };