summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_draw.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-06-29 09:55:17 -0700
committerEric Anholt <eric@anholt.net>2009-06-29 10:33:50 -0700
commit94008088c1e6758a44a2f48c5a94db1f072d255a (patch)
tree4a681fcb342d7b97d791ba24b0b41e7641deaabd /src/mesa/drivers/dri/i965/brw_draw.c
parentde447afff26706e3bf8bdcd5cfb8b1daf49b4b21 (diff)
intel: Move note_unlock() implementation to the one place it's needed.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_draw.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c
index 5342622a73..47dc99dcf4 100644
--- a/src/mesa/drivers/dri/i965/brw_draw.c
+++ b/src/mesa/drivers/dri/i965/brw_draw.c
@@ -416,6 +416,8 @@ static GLboolean brw_try_draw_prims( GLcontext *ctx,
out:
UNLOCK_HARDWARE(intel);
+ brw_state_cache_check_size(brw);
+
if (warn)
fprintf(stderr, "i965: Single primitive emit potentially exceeded "
"available aperture space\n");