summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/ggi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/ggi')
-rw-r--r--src/mesa/drivers/ggi/ggimesa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/ggi/ggimesa.c b/src/mesa/drivers/ggi/ggimesa.c
index 6bcb2d17cd5..d7928dd243e 100644
--- a/src/mesa/drivers/ggi/ggimesa.c
+++ b/src/mesa/drivers/ggi/ggimesa.c
@@ -534,7 +534,7 @@ void GGIMesaMakeCurrent(GGIMesaContext ctx)
if (!ctx->viewport_init)
{
- gl_Viewport(ctx->gl_ctx, 0, 0, ctx->width, ctx->height);
+ _mesa_set_viewport(ctx->gl_ctx, 0, 0, ctx->width, ctx->height);
ctx->viewport_init = GL_TRUE;
}
}