i915: update render buffers at prepare_render time
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 18 Feb 2010 22:58:17 +0000 (14:58 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 18 Feb 2010 22:59:06 +0000 (14:59 -0800)
We need to do this before we emit any state dependent on the current
render buffers.

src/mesa/drivers/dri/i915/i915_vtbl.c

index 392126b7dca552c86d1af220309b5c5f643350b4..30aaab78c8f735befa39b26f0b4009299d6efb72 100644 (file)
@@ -55,6 +55,7 @@ i915_render_prevalidate(struct intel_context *intel)
 static void
 i915_render_start(struct intel_context *intel)
 {
+   intel_prepare_render(intel);
 }