summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_program.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-09-01 07:47:24 -0600
committerBrian Paul <brianp@vmware.com>2012-09-01 07:47:24 -0600
commit4fdac659f800da0aa4504489f627738c83c94d66 (patch)
tree2b2fb4cb36ef6fbf81c5783bad39d37d562224e9 /src/mesa/tnl/t_vb_program.c
parent33bb8c051df3f2561c7b4a5ad7abefa3fce99d37 (diff)
downloadexternal_mesa3d-4fdac659f800da0aa4504489f627738c83c94d66.zip
external_mesa3d-4fdac659f800da0aa4504489f627738c83c94d66.tar.gz
external_mesa3d-4fdac659f800da0aa4504489f627738c83c94d66.tar.bz2
mesa: s/CALLOC/calloc/
v2: replace instances in dri/common/ dirs Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/tnl/t_vb_program.c')
-rw-r--r--src/mesa/tnl/t_vb_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c
index 74772db..9222f57 100644
--- a/src/mesa/tnl/t_vb_program.c
+++ b/src/mesa/tnl/t_vb_program.c
@@ -514,7 +514,7 @@ init_vp(struct gl_context *ctx, struct tnl_pipeline_stage *stage)
struct vp_stage_data *store;
const GLuint size = VB->Size;
- stage->privatePtr = CALLOC(sizeof(*store));
+ stage->privatePtr = calloc(1, sizeof(*store));
store = VP_STAGE_DATA(stage);
if (!store)
return GL_FALSE;