summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index c12a23b51ba..f4bfa8cd236 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -1137,10 +1137,6 @@ OSMesaMakeCurrent( OSMesaContext ctx, void *buffer, GLenum type,
/* this will make ensure we recognize the new buffer size */
_mesa_resize_framebuffer(&ctx->mesa, ctx->gl_buffer, width, height);
- /* Added by Gerk Huisma: */
- _tnl_MakeCurrent( &ctx->mesa, ctx->mesa.DrawBuffer,
- ctx->mesa.ReadBuffer );
-
return GL_TRUE;
}