intel: Drop the batchbuffer flush on glRenderbufferStorage().
authorEric Anholt <eric@anholt.net>
Sat, 17 Dec 2011 00:22:33 +0000 (16:22 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 29 Dec 2011 17:33:56 +0000 (09:33 -0800)
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

index 0dcc91794c285c1205a8ac3bab6a891e55e3f631..ecb4a86b2436c7463b90229b40f0bb20fd89c5d9 100644 (file)
@@ -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__,