summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2001-01-08 04:09:41 +0000
committerKeith Whitwell <[email protected]>2001-01-08 04:09:41 +0000
commitb980b2eeb62dc48101a7481d02d196c80b9da397 (patch)
tree2b9bf4b63b99a6df4e96123181da0a624289ad92 /src/mesa/swrast_setup
parent44d8de433e684cb4c2bc4dfc5cc6919af1f3cc55 (diff)
Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers
that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86.
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.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/src/mesa/swrast_setup/ss_context.c b/src/mesa/swrast_setup/ss_context.c
index 408438ca0b7..de3f36288a7 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.6 2001/01/05 02:26:49 keithw Exp $ */
+/* $Id: ss_context.c,v 1.7 2001/01/08 04:09:41 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -211,3 +211,9 @@ _swsetup_DestroyContext( GLcontext *ctx )
}
+void
+_swsetup_RenderPrimNoop( GLcontext *ctx, GLenum mode )
+{
+ (void) ctx;
+ (void) mode;
+}
diff --git a/src/mesa/swrast_setup/swrast_setup.h b/src/mesa/swrast_setup/swrast_setup.h
index fd9c94d4e5b..70b1113c909 100644
--- a/src/mesa/swrast_setup/swrast_setup.h
+++ b/src/mesa/swrast_setup/swrast_setup.h
@@ -58,5 +58,7 @@ _swsetup_Line( GLcontext *ctx, GLuint v0, GLuint v1 );
extern void
_swsetup_Points( GLcontext *ctx, GLuint first, GLuint last );
+extern void
+_swsetup_RenderPrimNoop( GLcontext *ctx, GLenum mode );
#endif