remove _tnl_MakeCurrent call
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 14 Sep 2005 18:09:15 +0000 (18:09 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 14 Sep 2005 18:09:15 +0000 (18:09 +0000)
src/mesa/drivers/osmesa/osmesa.c

index c12a23b51ba3a32d449b2566b2048ee0986f0384..f4bfa8cd236ce01560b114b3f9de55eed60f02c0 100644 (file)
@@ -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;
 }