From 6a1e19d0f63cb086e43505522cb72b0183da9b11 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 16 Dec 2011 16:22:33 -0800 Subject: [PATCH] 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. --- 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 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__, -- 2.30.2