diff options
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index f572f382882..b770aa250d3 100644 --- a/src/mesa/drivers/dri/intel/intel_context.c +++ b/src/mesa/drivers/dri/intel/intel_context.c @@ -794,8 +794,10 @@ intelDestroyContext(__DRIcontext * driContextPriv) INTEL_FIREVERTICES(intel); /* Dump a final BMP in case the application doesn't call SwapBuffers */ - if (INTEL_DEBUG & DEBUG_AUB) + if (INTEL_DEBUG & DEBUG_AUB) { + intel_batchbuffer_flush(intel); aub_dump_bmp(&intel->ctx); + } _mesa_meta_free(&intel->ctx); |