From: Nicolai Haehnle Date: Fri, 13 May 2005 17:44:22 +0000 (+0000) Subject: Patch from Jeff Smith: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=733bc876eeb7bc09136651bffe74c70c35d714b4;p=mesa.git Patch from Jeff Smith: Fix a WARN_ONCE format string. --- diff --git a/src/mesa/drivers/dri/r300/r300_texprog.c b/src/mesa/drivers/dri/r300/r300_texprog.c index 4f92d9094b7..eab8dbe7ffd 100644 --- a/src/mesa/drivers/dri/r300/r300_texprog.c +++ b/src/mesa/drivers/dri/r300/r300_texprog.c @@ -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;