Revert "mesa: fix the non-GNU C bit-field case"
authorBrian Paul <brianp@vmware.com>
Wed, 2 Sep 2009 16:38:46 +0000 (10:38 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 2 Sep 2009 16:38:46 +0000 (10:38 -0600)
This reverts commit 4b08e7498230eac30eea1721f33994b30999acd4.

Don't know what I was thinking there.

src/mesa/main/texenvprogram.c

index 165d464e3b70e8286bcd450ef5b2f1f180e52953..b4923e904db00ca0e937fd955606a2e7063d34b4 100644 (file)
@@ -86,8 +86,8 @@ struct mode_opt {
    __extension__ GLubyte Source:4;  /**< SRC_x */
    __extension__ GLubyte Operand:3; /**< OPR_x */
 #else
-   GLuint Source;  /**< SRC_x */
-   GLuint Operand; /**< OPR_x */
+   GLubyte Source;  /**< SRC_x */
+   GLubyte Operand; /**< OPR_x */
 #endif
 };