From: Brian Paul Date: Fri, 6 Nov 2009 14:59:18 +0000 (-0700) Subject: intel: call intel_check_front_buffer_rendering() in intelClear() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38d3c156dc64679e5602816070a0bac4f1f39302;p=mesa.git intel: call intel_check_front_buffer_rendering() in intelClear() fixes bug 24953. --- diff --git a/src/mesa/drivers/dri/intel/intel_clear.c b/src/mesa/drivers/dri/intel/intel_clear.c index fb62f0f430a..1cf41ee6b8a 100644 --- a/src/mesa/drivers/dri/intel/intel_clear.c +++ b/src/mesa/drivers/dri/intel/intel_clear.c @@ -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__);