intel: call intel_check_front_buffer_rendering() in intelClear()
authorBrian Paul <brianp@vmware.com>
Fri, 6 Nov 2009 14:59:18 +0000 (07:59 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 6 Nov 2009 15:00:38 +0000 (08:00 -0700)
fixes bug 24953.

src/mesa/drivers/dri/intel/intel_clear.c

index fb62f0f430aa14e1b8a117b04993ffa16eb0fc3d..1cf41ee6b8abd2c59abd41a3981d7b1324aea8fe 100644 (file)
@@ -33,6 +33,7 @@
 
 #include "intel_context.h"
 #include "intel_blit.h"
+#include "intel_buffers.h"
 #include "intel_chipset.h"
 #include "intel_clear.h"
 #include "intel_fbo.h"
@@ -75,6 +76,8 @@ intelClear(GLcontext *ctx, GLbitfield mask)
    struct gl_framebuffer *fb = ctx->DrawBuffer;
    GLuint i;
 
+   intel_check_front_buffer_rendering(intel);
+
    if (0)
       fprintf(stderr, "%s\n", __FUNCTION__);