From 2529fde36ee29bf5789bb8a0234d3c60bd38f511 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 16 Dec 2011 13:43:26 -0800 Subject: [PATCH] intel: Drop the batchbuffer flush on glFramebufferRenderbuffer(). There should be nothing special about this call compared to other callers of intel_draw_buffer(). --- src/mesa/drivers/dri/intel/intel_fbo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index c60b57ed404..0dcc91794c2 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -450,8 +450,6 @@ intel_framebuffer_renderbuffer(struct gl_context * ctx, { DBG("Intel FramebufferRenderbuffer %u %u\n", fb->Name, rb ? rb->Name : 0); - intel_flush(ctx); - _mesa_framebuffer_renderbuffer(ctx, fb, attachment, rb); intel_draw_buffer(ctx); } -- 2.30.2