diff options
author | Jon Taylor <[email protected]> | 2001-03-07 20:42:14 +0000 |
---|---|---|
committer | Jon Taylor <[email protected]> | 2001-03-07 20:42:14 +0000 |
commit | 9cb9401e8787bf524b8e647d63a3de9d8d1a1dd1 (patch) | |
tree | 0d9fa0d6879918f26b923d47f10cfb8973b8b148 /src/mesa/drivers/ggi | |
parent | 4da75f6d91801dbe5efc93a74b6301c535d305b9 (diff) |
Misc build fixes
Diffstat (limited to 'src/mesa/drivers/ggi')
-rw-r--r-- | src/mesa/drivers/ggi/ggimesa.c | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/mesa/drivers/ggi/ggimesa.c b/src/mesa/drivers/ggi/ggimesa.c index d7928dd243e..2674fee3b15 100644 --- a/src/mesa/drivers/ggi/ggimesa.c +++ b/src/mesa/drivers/ggi/ggimesa.c @@ -219,7 +219,7 @@ static void gl_ggiSetupPointers(GLcontext *ctx) ctx->Driver.ClearIndex = gl_ggiSetClearIndex; ctx->Driver.ClearColor = gl_ggiSetClearColor; - ctx->Driver.Clear = gl_ggiClear; +// ctx->Driver.Clear = gl_ggiClear; ctx->Driver.IndexMask = gl_ggiIndexMask; ctx->Driver.ColorMask = gl_ggiColorMask; ctx->Driver.Enable = gl_ggiEnable; @@ -345,7 +345,7 @@ GGIMesaContext GGIMesaCreateContext(void) return NULL; ctx->viewport_init = GL_FALSE; - ctx->gl_vis->DBflag = GL_FALSE; +// ctx->gl_vis->DBflag = GL_FALSE; ctx->gl_ctx = _mesa_create_context(ctx->gl_vis, NULL, (void *)ctx, GL_TRUE); if (!ctx->gl_ctx) @@ -454,10 +454,14 @@ int GGIMesaSetVisual(GGIMesaContext ctx, ggi_visual_t vis, } ctx->gl_buffer = _mesa_create_framebuffer(ctx->gl_vis, - ctx->gl_vis->DepthBits > 0, - ctx->gl_vis->StencilBits > 0, - ctx->gl_vis->AccumRedBits > 0, - ctx->gl_vis->AlphaBits > 0); +// ctx->gl_vis->DepthBits > 0, +// ctx->gl_vis->StencilBits > 0, +// ctx->gl_vis->AccumRedBits > 0, +// ctx->gl_vis->AlphaBits > 0); + info.depth_bits > 0, + info.stencil_bits > 0, + info.accum_bits > 0, + info.alpha_bits > 0); if (!ctx->gl_buffer) @@ -557,10 +561,10 @@ void GGIMesaSwapBuffers(void) _mesa_swapbuffers( GGIMesa->gl_ctx ); gl_ggiFlush(GGIMesa->gl_ctx); - if (GGIMesa->gl_vis->DBflag) - { +// if (GGIMesa->gl_vis->DBflag) +// { memcpy(GGIMesa->lfb[0], GGIMesa->lfb[1], GGIMesa->bufsize); - } +// } } static void gl_ggiUpdateState(GLcontext *ctx, GLuint new_state) |