From: Brian Paul Date: Thu, 13 May 2010 22:37:02 +0000 (-0600) Subject: mesa: enum bitfields are a gcc-only feature, use GLubyte X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48d3988b82506b83b7f716e2806097e4760f5a05;p=mesa.git mesa: enum bitfields are a gcc-only feature, use GLubyte --- 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; };