From: Eric Anholt Date: Fri, 16 Dec 2011 21:43:26 +0000 (-0800) Subject: intel: Drop the batchbuffer flush on glFramebufferRenderbuffer(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2529fde36ee29bf5789bb8a0234d3c60bd38f511;p=mesa.git intel: Drop the batchbuffer flush on glFramebufferRenderbuffer(). There should be nothing special about this call compared to other callers of intel_draw_buffer(). --- 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); }