From dd11e7664da245ca86e9e58996329836d323bc82 Mon Sep 17 00:00:00 2001 From: Jon Taylor Date: Mon, 13 Nov 2000 04:15:44 +0000 Subject: [PATCH] * Updated the autoconf/automake/libtool build system * GGIMesa's stubs targets now uses swrast --- src/mesa/drivers/ggi/default/stubs.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/ggi/default/stubs.c b/src/mesa/drivers/ggi/default/stubs.c index b1d915b2cb2..69617be9c03 100644 --- a/src/mesa/drivers/ggi/default/stubs.c +++ b/src/mesa/drivers/ggi/default/stubs.c @@ -27,6 +27,9 @@ #include #include +#include "../../swrast/swrast.h" +#include "../../swrast_setup/swrast_setup.h" + /**********************************************************************/ /***** Write spans of pixels *****/ /**********************************************************************/ @@ -313,6 +316,9 @@ int GGIsetup_driver(GGIMesaContext ggictx,struct ggi_mesa_info *info) ctx->Driver.ReadRGBASpan = GGIread_rgba_span; ctx->Driver.ReadCI32Pixels = GGIread_ci32_pixels; ctx->Driver.ReadRGBAPixels = GGIread_rgba_pixels; + + ctx->Driver.RegisterVB = _swsetup_RegisterVB; + ctx->Driver.RegisterVB = _swsetup_UnregisterVB; return 0; } @@ -339,7 +345,7 @@ void GGItriangle_flat(GLcontext *ctx,GLuint v0,GLuint v1,GLuint v2,GLuint pv) #define INNER_LOOP(LEFT,RIGHT,Y) \ ggiDrawHLine(VIS,LEFT,FLIP(Y),RIGHT-LEFT); -#include "tritemp.h" +//#include "tritemp.h" } @@ -380,7 +386,7 @@ void GGItriangle_flat_depth(GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLu if (length) ggiDrawHLine(VIS,startx,yy,length); \ } -#include "tritemp.h" +//#include "tritemp.h" } -- 2.30.2