resize buffers in MakeCurrent
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index afe6048..f78a8ce 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1713,6 +1713,8 @@
          if (readBuffer != drawBuffer && !readBuffer->Initialized) {
             initialize_framebuffer_size(newCtx, readBuffer);
          }
+
+	 _mesa_resizebuffers(newCtx);
 #endif
          if (newCtx->FirstTimeCurrent) {
             /* set initial viewport and scissor size now */