diff options
author | Jon Taylor <[email protected]> | 2000-12-28 02:00:27 +0000 |
---|---|---|
committer | Jon Taylor <[email protected]> | 2000-12-28 02:00:27 +0000 |
commit | 4e96ac080ae05a4439d3104638e645b3a7494642 (patch) | |
tree | 9deabe3e9297b781fb0e4c16dcca9d5e742934cb /src/mesa/drivers/ggi/ggimesa.c | |
parent | a884b4b81168df26b2e049ea765af92c393b850b (diff) |
Fixed GGIMesa build problems.
Swrast triangle drawing fixes.
Diffstat (limited to 'src/mesa/drivers/ggi/ggimesa.c')
-rw-r--r-- | src/mesa/drivers/ggi/ggimesa.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/mesa/drivers/ggi/ggimesa.c b/src/mesa/drivers/ggi/ggimesa.c index b10f74ec0cf..cc22ba32b7e 100644 --- a/src/mesa/drivers/ggi/ggimesa.c +++ b/src/mesa/drivers/ggi/ggimesa.c @@ -54,7 +54,7 @@ static char *ggimesaconffile = ggimesaconfstub + GGIMESATAGLEN; int _ggimesaDebugSync = 0; uint32 _ggimesaDebugState = 0; -static void gl_ggiUpdateState(GLcontext *ctx); +static void gl_ggiUpdateState(GLcontext *ctx, GLuint new_state); static int changed(ggi_visual_t vis, int whatchanged); static void gl_ggiGetSize(GLcontext *ctx, GLuint *width, GLuint *height) @@ -137,20 +137,6 @@ static GLbitfield gl_ggiClear(GLcontext *ctx,GLbitfield mask, GLboolean all, return mask & (~GL_COLOR_BUFFER_BIT); } -#if 0 -static GLboolean gl_ggiSetBuffer(GLcontext *ctx, GLenum mode) -{ - GGIMESADPRINT_CORE("gl_ggiSetBuffer() called\n"); - - if (mode == GL_FRONT) - GGICTX->active_buffer = 1; - else - GGICTX->active_buffer = 0; - - return GL_TRUE; -} -#endif - /* Set the buffer used for drawing */ static GLboolean gl_ggiSetDrawBuffer(GLcontext *ctx, GLenum mode) { @@ -254,9 +240,7 @@ static void gl_ggiSetupPointers(GLcontext *ctx) ctx->Driver.LineFunc = _swsetup_Line; ctx->Driver.TriangleFunc = _swsetup_Triangle; ctx->Driver.QuadFunc = _swsetup_Quad; - ctx->Driver.RasterSetup = _swsetup_RasterSetup; - ctx->Driver.RegisterVB = _swsetup_RegisterVB; - ctx->Driver.UnregisterVB = _swsetup_UnregisterVB; + } static int gl_ggiInitInfo(GGIMesaContext ctx, struct ggi_mesa_info *info) |