summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/image.c')
-rw-r--r--src/mesa/main/image.c4
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);
}