summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/nv40/nv40_fragprog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/nv40/nv40_fragprog.c')
-rw-r--r--src/mesa/pipe/nv40/nv40_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/nv40/nv40_fragprog.c b/src/mesa/pipe/nv40/nv40_fragprog.c
index cc637f5dae..7487fb896f 100644
--- a/src/mesa/pipe/nv40/nv40_fragprog.c
+++ b/src/mesa/pipe/nv40/nv40_fragprog.c
@@ -675,7 +675,7 @@ nv40_fragprog_translate(struct nv40_context *nv40,
struct tgsi_parse_context parse;
struct nv40_fpc *fpc = NULL;
- fpc = calloc(1, sizeof(struct nv40_fpc));
+ fpc = CALLOC(1, sizeof(struct nv40_fpc));
if (!fpc)
return;
fpc->fp = fp;