diff options
author | Alan Hourihane <[email protected]> | 2008-04-22 20:29:42 +0100 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2008-04-22 20:30:38 +0100 |
commit | eec20c359db9b48161902fea2a5ad014b09fd190 (patch) | |
tree | 807f6396f26d081ddd899819621d4b28e4c0cc15 /src/mesa/shader/prog_parameter.c | |
parent | 6e620162a1b235ade227368b87fa993e844d7077 (diff) |
small cleanups
Diffstat (limited to 'src/mesa/shader/prog_parameter.c')
-rw-r--r-- | src/mesa/shader/prog_parameter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/shader/prog_parameter.c b/src/mesa/shader/prog_parameter.c index 46d30872e4f..3ad7215755d 100644 --- a/src/mesa/shader/prog_parameter.c +++ b/src/mesa/shader/prog_parameter.c @@ -40,8 +40,7 @@ struct gl_program_parameter_list * _mesa_new_parameter_list(void) { - return (struct gl_program_parameter_list *) - _mesa_calloc(sizeof(struct gl_program_parameter_list)); + return CALLOC_STRUCT(gl_program_parameter_list); } |