From 733bc876eeb7bc09136651bffe74c70c35d714b4 Mon Sep 17 00:00:00 2001 From: Nicolai Haehnle Date: Fri, 13 May 2005 17:44:22 +0000 Subject: Patch from Jeff Smith: Fix a WARN_ONCE format string. --- src/mesa/drivers/dri/r300/r300_texprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/r300') 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; -- cgit v1.2.3