glsl: s/class/struct/ for ast_type_qualifier
authorBrian Paul <brianp@vmware.com>
Wed, 29 Aug 2012 15:04:00 +0000 (09:04 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 29 Aug 2012 18:08:46 +0000 (12:08 -0600)
To silence an MSVC compiler warning about class vs. struct.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/glsl_parser_extras.h

index 66463c5b6dd355d629bbb73daba48efac89b5e39..fc08ee273aaedf2aff317f13d77d6da901688d7d 100644 (file)
@@ -96,7 +96,7 @@ struct _mesa_glsl_parse_state {
     * Currently affects uniform blocks and uniform buffer variables in
     * those blocks.
     */
-   class ast_type_qualifier *default_uniform_qualifier;
+   struct ast_type_qualifier *default_uniform_qualifier;
 
    /**
     * Printable list of GLSL versions supported by the current context