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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user