diff options
author | Jon Taylor <taylorj@ggi-project.org> | 2000-11-13 04:15:44 +0000 |
---|---|---|
committer | Jon Taylor <taylorj@ggi-project.org> | 2000-11-13 04:15:44 +0000 |
commit | dd11e7664da245ca86e9e58996329836d323bc82 (patch) | |
tree | 1e3b881d274591681919bcbc4f7ff7c745b961b5 /src/mesa/drivers/ggi | |
parent | 7351049dbadcfd1c8dbc04090225d9c38de01a0f (diff) |
* Updated the autoconf/automake/libtool build system
* GGIMesa's stubs targets now uses swrast
Diffstat (limited to 'src/mesa/drivers/ggi')
-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 b1d915b2cb..69617be9c0 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" } |