diff options
author | Brian Paul <brianp@vmware.com> | 2009-11-06 07:59:18 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-11-06 08:00:38 -0700 |
commit | 38d3c156dc64679e5602816070a0bac4f1f39302 (patch) | |
tree | e9ef082c2b0dea1757af8f1ff8f61ec4cfa14131 /src/mesa/drivers | |
parent | 577a598dc905d435a31422bb6135ee9d4352f6b6 (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.c | 3 |
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__); |