From c5b1e81de48de5d8830bf5d92ff767ad1985e46e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 22 Oct 2003 22:59:07 +0000 Subject: Initial work for bounds checking of vertex arrays and vertex buffer objects. Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there. --- src/mesa/swrast_setup/ss_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/swrast_setup') diff --git a/src/mesa/swrast_setup/ss_context.c b/src/mesa/swrast_setup/ss_context.c index c000e41943..eb133f969c 100644 --- a/src/mesa/swrast_setup/ss_context.c +++ b/src/mesa/swrast_setup/ss_context.c @@ -83,10 +83,10 @@ _swsetup_DestroyContext( GLcontext *ctx ) ALIGN_FREE(swsetup->verts); if (swsetup->ChanSecondaryColor.Ptr) - ALIGN_FREE(swsetup->ChanSecondaryColor.Ptr); + ALIGN_FREE((void *) swsetup->ChanSecondaryColor.Ptr); if (swsetup->ChanColor.Ptr) - ALIGN_FREE(swsetup->ChanColor.Ptr); + ALIGN_FREE((void *) swsetup->ChanColor.Ptr); FREE(swsetup); ctx->swsetup_context = 0; -- cgit v1.2.3