diff options
author | Eric Anholt <eric@anholt.net> | 2009-04-20 15:46:11 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-04-21 15:28:55 -0700 |
commit | 928a37041defcca6f57f9452ba62e67524cb4510 (patch) | |
tree | 10d8fcc888b59e198aae69499416580c113a2c4e /src/i965_render.c | |
parent | 1fc93ee184ceefaea9528bb46ae82884c44d9b36 (diff) |
Replace a bunch of #ifdef debug flushing/syncing with a single function.
This removes it from a callsite where it would have just resulted in a
fatalerror.
Diffstat (limited to 'src/i965_render.c')
-rw-r--r-- | src/i965_render.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/i965_render.c b/src/i965_render.c index 5160d95f..c3df9d21 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -1216,11 +1216,6 @@ i965_emit_composite_state(ScrnInfoPtr pScrn) ADVANCE_BATCH(); } - -#ifdef I830DEBUG - ErrorF("try to sync to show any errors...\n"); - I830Sync(pScrn); -#endif } /** @@ -1605,10 +1600,7 @@ i965_composite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, intel_batch_end_atomic(pScrn); -#ifdef I830DEBUG - ErrorF("sync after 3dprimitive\n"); - I830Sync(pScrn); -#endif + i830_debug_sync(pScrn); } void |