From 493faa010d338f68540238c20a74b3b101ca7ff5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 27 Jan 2012 13:19:02 -0800 Subject: [PATCH] i965: Fix segfault with INTEL_DEBUG=batch on gen7 with samplers present. This was a leftover from the conversion of this file for state streaming. --- src/mesa/drivers/dri/i965/brw_state_dump.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_state_dump.c b/src/mesa/drivers/dri/i965/brw_state_dump.c index cb7a3ef73d3..7306ceb969d 100644 --- a/src/mesa/drivers/dri/i965/brw_state_dump.c +++ b/src/mesa/drivers/dri/i965/brw_state_dump.c @@ -292,7 +292,6 @@ static void dump_gen7_sampler_state(struct brw_context *brw, samp++; offset += sizeof(*samp); } - drm_intel_bo_unmap(intel->batch.bo); } -- 2.30.2