updated ctx->Driver functions for s/w setup
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 16 Jan 2001 21:16:56 +0000 (21:16 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 16 Jan 2001 21:16:56 +0000 (21:16 +0000)
src/mesa/drivers/osmesa/osmesa.c

index ed34a9c9e3552b51592c144fd10386d57dbee660..c1fd7c475d31e4df22c6f856eb982a7b34681de3 100644 (file)
@@ -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)) {