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 | |
parent | 6c4268204b0e62218c53f95a7e1c53214e5fc4d7 (diff) |
minor changes to silence compiler warnings
Diffstat (limited to 'src/mesa/swrast_setup')
-rw-r--r-- | src/mesa/swrast_setup/ss_context.c | 8 | ||||
-rw-r--r-- | src/mesa/swrast_setup/swrast_setup.h | 20 |
2 files changed, 14 insertions, 14 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;*/ } diff --git a/src/mesa/swrast_setup/swrast_setup.h b/src/mesa/swrast_setup/swrast_setup.h index d9b253af9d2..aa32f06f24b 100644 --- a/src/mesa/swrast_setup/swrast_setup.h +++ b/src/mesa/swrast_setup/swrast_setup.h @@ -31,39 +31,39 @@ #ifndef SWRAST_SETUP_H #define SWRAST_SETUP_H -GLboolean +extern GLboolean _swsetup_CreateContext( GLcontext *ctx ); -void +extern void _swsetup_DestroyContext( GLcontext *ctx ); -GLboolean +extern void _swsetup_RegisterVB( struct vertex_buffer *VB ); -void +extern void _swsetup_UnregisterVB( struct vertex_buffer *VB ); -void +extern void _swsetup_InvalidateState( GLcontext *ctx, GLuint new_state ); -void +extern void _swsetup_RasterSetup( struct vertex_buffer *VB, GLuint start, GLuint end ); -void +extern void _swsetup_Quad( GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint v3, GLuint pv ); -void +extern void _swsetup_Triangle( GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint pv ); -void +extern void _swsetup_Line( GLcontext *ctx, GLuint v0, GLuint v1, GLuint pv ); -void +extern void _swsetup_Points( GLcontext *ctx, GLuint first, GLuint last ); |