Module: Mesa
Branch: master
Commit: 48d3988b82506b83b7f716e2806097e4760f5a05
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=48d3988b82506b83b7f716e2806097e4760f5a05

Author: Brian Paul <[email protected]>
Date:   Thu May 13 16:37:02 2010 -0600

mesa: enum bitfields are a gcc-only feature, use GLubyte

---

 src/mesa/main/get.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index f3b4b7b..12d046b 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;
 };

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to