diff options
author | Kristian Høgsberg <[email protected]> | 2010-01-01 18:42:23 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-01-04 11:48:01 -0500 |
commit | 01dc463e5d5513e059eea601710cd4babe02610d (patch) | |
tree | ac25ac985dae4ca5a33f1a7f1b3689f58f773b03 /src/mesa/drivers/dri/i965 | |
parent | 3566bc7584475daa852f4d5735a81a28c032297d (diff) |
intel: Drop LOCK/UNLOCK_HARDWARE()
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 7ad860898fc..f99d607d86e 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -339,10 +339,7 @@ static GLboolean brw_try_draw_prims( GLcontext *ctx, * so can't access it earlier. */ - LOCK_HARDWARE(intel); - if (!intel->constant_cliprect && intel->driDrawable->numClipRects == 0) { - UNLOCK_HARDWARE(intel); return GL_TRUE; } @@ -404,7 +401,6 @@ static GLboolean brw_try_draw_prims( GLcontext *ctx, if (intel->always_flush_batch) intel_batchbuffer_flush(intel->batch); out: - UNLOCK_HARDWARE(intel); brw_state_cache_check_size(brw); |