From 547bbcabffffad1a630c261830998c511efc2b96 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 16 Jan 2001 21:16:56 +0000 Subject: [PATCH] updated ctx->Driver functions for s/w setup --- src/mesa/drivers/osmesa/osmesa.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index ed34a9c9e35..c1fd7c475d3 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -1,4 +1,4 @@ -/* $Id: osmesa.c,v 1.38 2001/01/12 22:34:27 brianp Exp $ */ +/* $Id: osmesa.c,v 1.39 2001/01/16 21:16:56 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1711,7 +1711,9 @@ 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; + ctx->Driver.RenderPrimitive = _swsetup_RenderPrimitive; + ctx->Driver.RenderStart = _swsetup_RenderStart; + ctx->Driver.RenderFinish = _swsetup_RenderFinish; /* RGB(A) span/pixel functions */ if ((osmesa->format==OSMESA_RGB) || (osmesa->format==OSMESA_BGR)) { -- 2.30.2