summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2006-09-22 11:36:30 +0000
committerKeith Whitwell <[email protected]>2006-09-22 11:36:30 +0000
commitf9bfdb1ce47380a23218a8253ac1dde923ee13fc (patch)
treedbd359299c1e111d26a7b4bcdf1624bbfc47f63c /src/mesa/main/context.c
parentf118b9b40d5928c36fba9759e508d8f84fc2909d (diff)
resize buffers in MakeCurrent
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index afe6048c802..f78a8cedf1b 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1713,6 +1713,8 @@ _mesa_make_current( GLcontext *newCtx, GLframebuffer *drawBuffer,
if (readBuffer != drawBuffer && !readBuffer->Initialized) {
initialize_framebuffer_size(newCtx, readBuffer);
}
+
+ _mesa_resizebuffers(newCtx);
#endif
if (newCtx->FirstTimeCurrent) {
/* set initial viewport and scissor size now */