intel: Drop the batchbuffer flush on glFramebufferRenderbuffer().
authorEric Anholt <eric@anholt.net>
Fri, 16 Dec 2011 21:43:26 +0000 (13:43 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 29 Dec 2011 17:33:56 +0000 (09:33 -0800)
There should be nothing special about this call compared to other
callers of intel_draw_buffer().

src/mesa/drivers/dri/intel/intel_fbo.c

index c60b57ed4041a017798c7a88cdb7a2f9d0f5aca3..0dcc91794c285c1205a8ac3bab6a891e55e3f631 100644 (file)
@@ -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);
 }