summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c
index 647f138f0a3..ffe4c277776 100644
--- a/src/mesa/drivers/dri/i965/brw_program.c
+++ b/src/mesa/drivers/dri/i965/brw_program.c
@@ -152,7 +152,7 @@ static struct gl_program *brwNewProgram( struct gl_context *ctx,
rzalloc(NULL, struct gen4_fragment_program);
prog = &g4_prog->base;
} else {
- prog = CALLOC_STRUCT(brw_program);
+ prog = rzalloc(NULL, struct brw_program);
}
if (prog) {