OSDN Git Service

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 c12a23b..f4bfa8c 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;
 }