summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-01-12 22:34:27 +0000
committerBrian Paul <[email protected]>2001-01-12 22:34:27 +0000
commit3f9ee180a887635134ce4303b33c684bc770dbe9 (patch)
treeecae49f511ecc2924b65eb4ed66a98f278819f1b
parente448d6cf0c671822f0cb59395c88ff667f4da867 (diff)
initialize Driver.RenderPrimitive to _swsetup_RenderPrimNoop
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index f26ed3867e1..ed34a9c9e35 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -1,4 +1,4 @@
-/* $Id: osmesa.c,v 1.37 2001/01/05 02:26:48 keithw Exp $ */
+/* $Id: osmesa.c,v 1.38 2001/01/12 22:34:27 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1711,7 +1711,7 @@ static void osmesa_update_state( GLcontext *ctx, GLuint new_state )
ctx->Driver.TriangleFunc = _swsetup_Triangle;
ctx->Driver.QuadFunc = _swsetup_Quad;
ctx->Driver.BuildProjectedVertices = _swsetup_BuildProjectedVertices;
-
+ ctx->Driver.RenderPrimitive = _swsetup_RenderPrimNoop;
/* RGB(A) span/pixel functions */
if ((osmesa->format==OSMESA_RGB) || (osmesa->format==OSMESA_BGR)) {