summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r300/r300_texprog.c2
1 files changed, 1 insertions, 1 deletions
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;