From: Eric Anholt Date: Sat, 17 Dec 2011 00:22:33 +0000 (-0800) Subject: intel: Drop the batchbuffer flush on glRenderbufferStorage(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a1e19d0f63cb086e43505522cb72b0183da9b11;p=mesa.git intel: Drop the batchbuffer flush on glRenderbufferStorage(). There's nothing batchbuffer-related here. State updates by the caller will trigger re-emitting of any new hardware state. --- diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index 0dcc91794c2..ecb4a86b243 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -237,8 +237,6 @@ intel_alloc_renderbuffer_storage(struct gl_context * ctx, struct gl_renderbuffer rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); rb->DataType = intel_mesa_format_to_rb_datatype(rb->Format); - intel_flush(ctx); - intel_miptree_release(&irb->mt); DBG("%s: %s: %s (%dx%d)\n", __FUNCTION__,