summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-03-23 23:11:50 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-03-23 23:11:50 +0000
commit3ad6adfb5748ecb99cea96680e48b724e97f39c6 (patch)
tree6cb12d45b17c6fa3edb063ac1be8cfbefbcd883f
parent8a126f116677e675cd026aba0c4a4779cd45df9b (diff)
another intelFlush() call
-rw-r--r--src/mesa/drivers/dri/i915/intel_fbo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_fbo.c b/src/mesa/drivers/dri/i915/intel_fbo.c
index 1578ad67c1..4cf41e1175 100644
--- a/src/mesa/drivers/dri/i915/intel_fbo.c
+++ b/src/mesa/drivers/dri/i915/intel_fbo.c
@@ -471,7 +471,9 @@ intel_framebuffer_renderbuffer(GLcontext *ctx,
struct gl_renderbuffer *rb)
{
_mesa_debug(ctx, "Intel FramebufferRenderbuffer %u %u\n",
- fb->Name, rb->Name);
+ fb->Name, rb ? rb->Name : 0);
+
+ intelFlush(ctx);
_mesa_framebuffer_renderbuffer(ctx, fb, attachment, rb);
intel_draw_buffer(ctx, fb);