* Updated the autoconf/automake/libtool build system
authorJon Taylor <taylorj@ggi-project.org>
Mon, 13 Nov 2000 04:15:44 +0000 (04:15 +0000)
committerJon Taylor <taylorj@ggi-project.org>
Mon, 13 Nov 2000 04:15:44 +0000 (04:15 +0000)
* GGIMesa's stubs targets now uses swrast

src/mesa/drivers/ggi/default/stubs.c

index b1d915b2cb266daef3b68fb81e6ccb02730cad28..69617be9c03dcf9f314785ff55924d4372e3cf0b 100644 (file)
@@ -27,6 +27,9 @@
 #include <ggi/internal/ggi-dl.h>
 #include <ggi/mesa/ggimesa_int.h>
 
+#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" 
 }