summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast_setup')
-rw-r--r--src/mesa/swrast_setup/ss_context.c8
-rw-r--r--src/mesa/swrast_setup/swrast_setup.h20
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 );