From 3f9ee180a887635134ce4303b33c684bc770dbe9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 12 Jan 2001 22:34:27 +0000 Subject: initialize Driver.RenderPrimitive to _swsetup_RenderPrimNoop --- src/mesa/drivers/osmesa/osmesa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/osmesa/osmesa.c') 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)) { -- cgit v1.2.3