summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/x11/x11_dri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/x11/x11_dri.c')
-rw-r--r--src/mesa/drivers/dri/x11/x11_dri.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/x11/x11_dri.c b/src/mesa/drivers/dri/x11/x11_dri.c
index f7d25271fb..f414b7e424 100644
--- a/src/mesa/drivers/dri/x11/x11_dri.c
+++ b/src/mesa/drivers/dri/x11/x11_dri.c
@@ -409,11 +409,6 @@ x11MakeCurrent(__DRIcontextPrivate *driContextPriv,
_mesa_make_current2(newFbCtx->glCtx,
(GLframebuffer *) driDrawPriv->driverPrivate,
(GLframebuffer *) driReadPriv->driverPrivate);
-
- if (!newFbCtx->glCtx->Viewport.Width) {
- _mesa_set_viewport(newFbCtx->glCtx, 0, 0,
- driDrawPriv->w, driDrawPriv->h);
- }
} else {
_mesa_make_current(0, 0);
}