diff options
author | Brian Paul <[email protected]> | 1999-10-10 13:04:17 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-10-10 13:04:17 +0000 |
commit | 567a1de66606ebbb3e54140925a84f5095101532 (patch) | |
tree | 2dad4375920fc4ae149c8b933dc08ca99af65608 /src/mesa/main/image.c | |
parent | 60a249d009acec34bd61e12f01caf7bdf87e895c (diff) |
now using GL_MALLOC, GL_FREE
Diffstat (limited to 'src/mesa/main/image.c')
-rw-r--r-- | src/mesa/main/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index b963d16c9b3..781efad855a 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -1,4 +1,4 @@ -/* $Id: image.c,v 1.4 1999/10/10 12:54:04 brianp Exp $ */ +/* $Id: image.c,v 1.5 1999/10/10 13:04:17 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -483,7 +483,7 @@ GLvoid *gl_pixel_addr_in_image( const struct gl_pixelstore_attrib *packing, */ static struct gl_image *alloc_image( void ) { - return (struct gl_image *) calloc(sizeof(struct gl_image), 1); + return GL_CALLOC_STRUCT(gl_image); } |