From 1aa958bc9cbca2d2274124d131968b51ee72d7ed Mon Sep 17 00:00:00 2001 From: Jon Taylor Date: Sat, 28 Oct 2000 10:02:44 +0000 Subject: Lots of misc. bugfixes to bring GGIMesa in sync with the latest Mesa sources. --- src/mesa/drivers/ggi/ggimesa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/ggi/ggimesa.c') diff --git a/src/mesa/drivers/ggi/ggimesa.c b/src/mesa/drivers/ggi/ggimesa.c index 2311959f5fa..97c7780a187 100644 --- a/src/mesa/drivers/ggi/ggimesa.c +++ b/src/mesa/drivers/ggi/ggimesa.c @@ -370,7 +370,7 @@ int GGIMesaSetVisual(GGIMesaContext ctx, ggi_visual_t vis, _mesa_destroy_visual(ctx->gl_vis); if (ctx->gl_buffer) - gl_destroy_framebuffer(ctx->gl_buffer); + _mesa_destroy_framebuffer(ctx->gl_buffer); info.rgb_flag = rgb_flag; info.db_flag = db_flag; @@ -459,7 +459,7 @@ int GGIMesaSetVisual(GGIMesaContext ctx, ggi_visual_t vis, ctx->lfb[1] = malloc(ctx->stride * ctx->height); ctx->bufsize = (ctx->stride * ctx->height); - ctx->gl_ctx->Visual = ctx->gl_vis; + ctx->gl_ctx->Visual = *ctx->gl_vis; ctx->gl_ctx->Pixel.ReadBuffer = ctx->gl_ctx->Color.DrawBuffer = (db_flag) ? GL_BACK : GL_FRONT; -- cgit v1.2.3