summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300
diff options
context:
space:
mode:
authorNicolai Haehnle <[email protected]>2005-05-13 17:44:22 +0000
committerNicolai Haehnle <[email protected]>2005-05-13 17:44:22 +0000
commit733bc876eeb7bc09136651bffe74c70c35d714b4 (patch)
tree75946bda2aa257ff0c807dc0e0c4e26cfa6d23db /src/mesa/drivers/dri/r300
parent64034c4fb5c56f63d37faa6f64f3183ca106856a (diff)
Patch from Jeff Smith:
Fix a WARN_ONCE format string.
Diffstat (limited to 'src/mesa/drivers/dri/r300')
-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;