i965: Remove use of deprecated drm_intel_aub routines
[mesa.git] / src / mesa / drivers / dri / i965 / brw_context.c
index cd3b53a5e0f18c24a3fc59b8c879c51519d557c7..c8e7cc16809714a25309f6a21a80a8bad310e182 100644 (file)
@@ -1154,12 +1154,6 @@ intelDestroyContext(__DRIcontext * driContextPriv)
       (struct brw_context *) driContextPriv->driverPrivate;
    struct gl_context *ctx = &brw->ctx;
 
-   /* Dump a final BMP in case the application doesn't call SwapBuffers */
-   if (INTEL_DEBUG & DEBUG_AUB) {
-      intel_batchbuffer_flush(brw);
-      aub_dump_bmp(&brw->ctx);
-   }
-
    _mesa_meta_free(&brw->ctx);
 
    if (INTEL_DEBUG & DEBUG_SHADER_TIME) {