diff options
author | Brian Paul <[email protected]> | 2012-09-01 07:47:24 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-09-01 07:47:24 -0600 |
commit | 4fdac659f800da0aa4504489f627738c83c94d66 (patch) | |
tree | 2b2fb4cb36ef6fbf81c5783bad39d37d562224e9 /src/mesa/main/matrix.c | |
parent | 33bb8c051df3f2561c7b4a5ad7abefa3fce99d37 (diff) |
mesa: s/CALLOC/calloc/
v2: replace instances in dri/common/ dirs
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/matrix.c')
-rw-r--r-- | src/mesa/main/matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c index 7157433de4d..a775a9a36a2 100644 --- a/src/mesa/main/matrix.c +++ b/src/mesa/main/matrix.c @@ -671,7 +671,7 @@ init_matrix_stack( struct gl_matrix_stack *stack, stack->MaxDepth = maxDepth; stack->DirtyFlag = dirtyFlag; /* The stack */ - stack->Stack = (GLmatrix *) CALLOC(maxDepth * sizeof(GLmatrix)); + stack->Stack = (GLmatrix *) calloc(maxDepth, sizeof(GLmatrix)); for (i = 0; i < maxDepth; i++) { _math_matrix_ctr(&stack->Stack[i]); } |