summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_state_emit.c
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2007-11-03 01:31:47 +0000
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2007-11-03 02:01:32 +0000
commit5fa6ea68586e906a984291dd4c20f664924157eb (patch)
tree1d0f22c5e99e7891447847109249cc5c611e73af /src/mesa/pipe/i915simple/i915_state_emit.c
parent5c1606a2b3e951c32f028e0b328e6c06e9424e28 (diff)
Do something sensible when failed to reserve space in the batch buffer.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_state_emit.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_state_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state_emit.c b/src/mesa/pipe/i915simple/i915_state_emit.c
index 15eff97813..29fe9d9718 100644
--- a/src/mesa/pipe/i915simple/i915_state_emit.c
+++ b/src/mesa/pipe/i915simple/i915_state_emit.c
@@ -81,7 +81,7 @@ i915_emit_hardware_state(struct i915_context *i915 )
if(!BEGIN_BATCH(dwords, relocs)) {
FLUSH_BATCH();
- BEGIN_BATCH(dwords, relocs);
+ assert(BEGIN_BATCH(dwords, relocs));
}
/* 14 dwords, 0 relocs */