diff options
author | Brian Paul <[email protected]> | 2000-11-10 17:45:15 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-11-10 17:45:15 +0000 |
commit | ba41b8afb1b40b967cf5c0e604bbf09793eb8fee (patch) | |
tree | 4d5538cc387e176ad639ce00e7c733ff6bf58143 /src/mesa/swrast_setup/ss_context.c | |
parent | 6c4268204b0e62218c53f95a7e1c53214e5fc4d7 (diff) |
minor changes to silence compiler warnings
Diffstat (limited to 'src/mesa/swrast_setup/ss_context.c')
-rw-r--r-- | src/mesa/swrast_setup/ss_context.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/swrast_setup/ss_context.c b/src/mesa/swrast_setup/ss_context.c index 4809e6f3286..a10f22cb3f5 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.1 2000/11/05 18:20:18 keithw Exp $ */ +/* $Id: ss_context.c,v 1.2 2000/11/10 17:45:16 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -201,7 +201,7 @@ _swsetup_DestroyContext( GLcontext *ctx ) } } -GLboolean +void _swsetup_RegisterVB( struct vertex_buffer *VB ) { SSvertexbuffer *ssvb = (SSvertexbuffer *)CALLOC(sizeof(SSvertexbuffer) ); @@ -209,11 +209,11 @@ _swsetup_RegisterVB( struct vertex_buffer *VB ) ssvb->verts = ALIGN_MALLOC( sizeof(SWvertex) * VB->Size, 32); if (!ssvb->verts) { FREE(ssvb); - return GL_FALSE; + /*return GL_FALSE;*/ } VB->swsetup_vb = ssvb; - return GL_TRUE; + /*return GL_TRUE;*/ } |