summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-08-08 00:41:11 +0000
committerBrian Paul <[email protected]>2002-08-08 00:41:11 +0000
commit2a1abe3b46f6671610653059df00664a8b70399c (patch)
tree0d252f80e1d25f2f7bce8e7983c3f1ef9a995531 /src
parentfb8ca95dff04eb9a7b7edf49394b616f9ac99f5a (diff)
initialize SWvertex array to zeros
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast_setup/ss_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast_setup/ss_context.c b/src/mesa/swrast_setup/ss_context.c
index 4b8c003c2e7..6adcef9b75c 100644
--- a/src/mesa/swrast_setup/ss_context.c
+++ b/src/mesa/swrast_setup/ss_context.c
@@ -1,4 +1,4 @@
-/* $Id: ss_context.c,v 1.15 2001/07/17 19:39:32 keithw Exp $ */
+/* $Id: ss_context.c,v 1.16 2002/08/08 00:41:11 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -59,7 +59,7 @@ _swsetup_CreateContext( GLcontext *ctx )
if (!swsetup)
return GL_FALSE;
- swsetup->verts = (SWvertex *) ALIGN_MALLOC( sizeof(SWvertex) * tnl->vb.Size,
+ swsetup->verts = (SWvertex *) ALIGN_CALLOC( sizeof(SWvertex) * tnl->vb.Size,
32);
if (!swsetup->verts) {
FREE(swsetup);