Patch from Jeff Smith:
authorNicolai Haehnle <prefect_@gmx.net>
Fri, 13 May 2005 17:44:22 +0000 (17:44 +0000)
committerNicolai Haehnle <prefect_@gmx.net>
Fri, 13 May 2005 17:44:22 +0000 (17:44 +0000)
Fix a WARN_ONCE format string.

src/mesa/drivers/dri/r300/r300_texprog.c

index 4f92d9094b7e4db5f0d171b42d43d226e55039e6..eab8dbe7ffd595ffd94e4c4fffb03a11a5c0ae78 100644 (file)
@@ -209,7 +209,7 @@ GLuint emit_texenv(r300ContextPtr r300, GLuint tc_reg, GLuint unit)
                return get_source(ps, GL_TEXTURE, unit, tc_reg);
                break;
        default:
-               WARN_ONCE("Unknown EnvMode == %d, name=%d\n", envmode,
+               WARN_ONCE("Unknown EnvMode == %d, name=%s\n", envmode,
                                                _mesa_lookup_enum_by_nr(envmode));
                return get_source(ps, GL_TEXTURE, unit, tc_reg);
                break;