diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/ggi/default/stubs.c | 10 |
1 files 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 <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" } |