From: Brian Paul Date: Wed, 14 Sep 2005 18:09:15 +0000 (+0000) Subject: remove _tnl_MakeCurrent call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f16244879066722820ab0af7745a71387129cd9;p=mesa.git remove _tnl_MakeCurrent call --- 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; }