revert some makecurrent code
authorAlan Hourihane <alanh@tungstengraphics.com>
Thu, 13 Jan 2005 12:03:00 +0000 (12:03 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Thu, 13 Jan 2005 12:03:00 +0000 (12:03 +0000)
src/mesa/drivers/dri/unichrome/via_context.c

index 0c52374d60359cd05b821e120e1c6e0c29c64532..f2dd2cfea57b60067cff19d3ea244f1167b5e8f5 100644 (file)
@@ -674,8 +674,7 @@ viaMakeCurrent(__DRIcontextPrivate *driContextPriv,
                             (GLframebuffer *)driReadPriv->driverPrivate);
        if (VIA_DEBUG) fprintf(stderr, "Context %d MakeCurrent\n", vmesa->hHWContext);
        
-       _mesa_update_state(vmesa->glCtx);
-       viaValidateState(vmesa->glCtx);
+        viaXMesaWindowMoved(vmesa);
        ctx->Driver.Scissor(vmesa->glCtx,
                            vmesa->glCtx->Scissor.X,
                            vmesa->glCtx->Scissor.Y,