summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_instruction.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-02-19 12:56:49 -0700
committerBrian Paul <brianp@vmware.com>2010-02-19 12:56:49 -0700
commit78a0c353d0f87c85feaa6dcb3042fc25d424f21b (patch)
treeea638e071a08127708883560bdb96b8c0547d854 /src/mesa/shader/prog_instruction.c
parent8de5a292f70dba854a4bf06a2210bc38381e6bcf (diff)
mesa: restore _mesa_snprintf() - it's needed for Windows
This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2
Diffstat (limited to 'src/mesa/shader/prog_instruction.c')
-rw-r--r--src/mesa/shader/prog_instruction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_instruction.c b/src/mesa/shader/prog_instruction.c
index e5534b20e3..81099cb99c 100644
--- a/src/mesa/shader/prog_instruction.c
+++ b/src/mesa/shader/prog_instruction.c
@@ -345,7 +345,7 @@ _mesa_opcode_string(gl_inst_opcode opcode)
return InstInfo[opcode].Name;
else {
static char s[20];
- snprintf(s, sizeof(s), "OP%u", opcode);
+ _mesa_snprintf(s, sizeof(s), "OP%u", opcode);
return s;
}
}