summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-11-06 07:59:18 -0700
committerBrian Paul <brianp@vmware.com>2009-11-06 08:00:38 -0700
commit38d3c156dc64679e5602816070a0bac4f1f39302 (patch)
treee9ef082c2b0dea1757af8f1ff8f61ec4cfa14131 /src/mesa/drivers
parent577a598dc905d435a31422bb6135ee9d4352f6b6 (diff)
intel: call intel_check_front_buffer_rendering() in intelClear()
fixes bug 24953.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel/intel_clear.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_clear.c b/src/mesa/drivers/dri/intel/intel_clear.c
index fb62f0f430..1cf41ee6b8 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__);