projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b08e74
)
Revert "mesa: fix the non-GNU C bit-field case"
author
Brian Paul
<brianp@vmware.com>
Wed, 2 Sep 2009 16:38:46 +0000
(10:38 -0600)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/mesa/main/texenvprogram.c
b/src/mesa/main/texenvprogram.c
index 165d464e3b70e8286bcd450ef5b2f1f180e52953..b4923e904db00ca0e937fd955606a2e7063d34b4 100644
(file)
--- 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
- GLu
int
Source; /**< SRC_x */
- GLu
int
Operand; /**< OPR_x */
+ GLu
byte
Source; /**< SRC_x */
+ GLu
byte
Operand; /**< OPR_x */
#endif
};