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