aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/ggi/ggimesa.c
diff options
context:
space:
mode:
authorJon Taylor <[email protected]>2000-10-28 10:02:44 +0000
committerJon Taylor <[email protected]>2000-10-28 10:02:44 +0000
commit1aa958bc9cbca2d2274124d131968b51ee72d7ed (patch)
treeb420fa67dd3384eec1a704fe40cbf07b7e7ac6c8 /src/mesa/drivers/ggi/ggimesa.c
parent1c4b3f4dfbd71dfd0d414ecad1499bf44d31a919 (diff)
Lots of misc. bugfixes to bring GGIMesa in sync with the latest Mesa sources.
Diffstat (limited to 'src/mesa/drivers/ggi/ggimesa.c')
-rw-r--r--src/mesa/drivers/ggi/ggimesa.c4
1 files changed, 2 insertions, 2 deletions
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;