glsl: Remove extraneously extraneous parens
authorChad Versace <chad.versace@intel.com>
Thu, 27 Jan 2011 09:40:51 +0000 (01:40 -0800)
committerChad Versace <chad.versace@intel.com>
Thu, 27 Jan 2011 00:37:45 +0000 (16:37 -0800)
I found this parenthetical usage of parentheses to be extraneously
extraneous:
   (yyextra->ARB_fragment_coord_conventions_enable)

src/glsl/glsl_lexer.lpp

index 555bc1f..4d68663 100644 (file)
@@ -254,7 +254,7 @@ layout              {
                  if ((yyextra->language_version >= 140)
                      || yyextra->AMD_conservative_depth_enable
                      || yyextra->ARB_explicit_attrib_location_enable
-                     || (yyextra->ARB_fragment_coord_conventions_enable)){
+                     || yyextra->ARB_fragment_coord_conventions_enable) {
                      return LAYOUT_TOK;
                   } else {
                      yylval->identifier = strdup(yytext);