mesa: enum bitfields are a gcc-only feature, use GLubyte
authorBrian Paul <brianp@vmware.com>
Thu, 13 May 2010 22:37:02 +0000 (16:37 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 14 May 2010 19:23:41 +0000 (13:23 -0600)
src/mesa/main/get.c

index f3b4b7b..12d046b 100644 (file)
@@ -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;
 };