diff options
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 04ef4d500d8..34da16b88f4 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1765,10 +1765,6 @@ _mesa_make_current( struct gl_context *newCtx, check_init_viewport(newCtx, drawBuffer->Width, drawBuffer->Height); } - else { - _mesa_reference_framebuffer(&newCtx->WinSysDrawBuffer, NULL); - _mesa_reference_framebuffer(&newCtx->WinSysReadBuffer, NULL); - } if (newCtx->FirstTimeCurrent) { handle_first_current(newCtx); |