summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-05-13 16:37:02 -0600
committerBrian Paul <[email protected]>2010-05-14 13:23:41 -0600
commit48d3988b82506b83b7f716e2806097e4760f5a05 (patch)
tree90a541a5e4421f0f9133a0532bb3ce78a588097e
parent5dc0f49084f322dd8ff6eb585212eea8b50e3377 (diff)
mesa: enum bitfields are a gcc-only feature, use GLubyte
-rw-r--r--src/mesa/main/get.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index f3b4b7bdc18..12d046b0754 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -136,8 +136,8 @@ enum value_extra {
struct value_desc {
GLenum pname;
- enum value_location location : 8;
- enum value_type type : 8;
+ GLubyte location; /**< enum value_location */
+ GLubyte type; /**< enum value_type */
int offset;
const int *extra;
};