OSDN Git Service

mesa: fix the non-GNU C bit-field case
authorBrian Paul <brianp@vmware.com>
Wed, 2 Sep 2009 16:12:15 +0000 (10:12 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 2 Sep 2009 16:12:15 +0000 (10:12 -0600)
src/mesa/main/texenvprogram.c

index b4923e9..165d464 100644 (file)
@@ -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
 };