glsl: Remove extra "types" from error message
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 9 Aug 2013 20:44:49 +0000 (13:44 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Aug 2013 23:39:04 +0000 (16:39 -0700)
Send it straight to the Department of Redundancy Department.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp

index 04b16c8..3807fde 100644 (file)
@@ -4282,7 +4282,7 @@ ast_type_specifier::hir(exec_list *instructions,
       }
       if (!is_valid_default_precision_type(state, this->type_name)) {
          _mesa_glsl_error(&loc, state,
-                          "default precision statements apply only to types "
+                          "default precision statements apply only to "
                           "float, int, and sampler types");
          return NULL;
       }