summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2006-09-20 12:49:52 +0000
committerKeith Whitwell <[email protected]>2006-09-20 12:49:52 +0000
commit285801a9eda72310aa34e39c82beb57ec5e752d3 (patch)
tree47a6645e48d5a58c7905e73851b8b88593a82314 /src/mesa/drivers/dri
parent408ce7e861d3a09acaf0b049d738da30850dbfae (diff)
Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c
index f12fb4c7f3e..cd821b9045a 100644
--- a/src/mesa/drivers/dri/i965/brw_draw.c
+++ b/src/mesa/drivers/dri/i965/brw_draw.c
@@ -400,7 +400,7 @@ GLboolean brw_draw_prims( GLcontext *ctx,
retval = brw_try_draw_prims(ctx, arrays, prim, nr_prims, ib, min_index, max_index, flags);
}
- if (intel->aub_file) {
+ if (intel->aub_file && (INTEL_DEBUG & DEBUG_SYNC)) {
intelFinish( &intel->ctx );
intel->aub_wrap = 1;
}