diff options
author | Nicolai Haehnle <[email protected]> | 2005-05-13 17:44:22 +0000 |
---|---|---|
committer | Nicolai Haehnle <[email protected]> | 2005-05-13 17:44:22 +0000 |
commit | 733bc876eeb7bc09136651bffe74c70c35d714b4 (patch) | |
tree | 75946bda2aa257ff0c807dc0e0c4e26cfa6d23db | |
parent | 64034c4fb5c56f63d37faa6f64f3183ca106856a (diff) |
Patch from Jeff Smith:
Fix a WARN_ONCE format string.
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_texprog.c | 2 |
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; |