summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
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__);