nouveau: another "argh gallium fscks with assert" fix

This commit is contained in:
Ben Skeggs 2008-03-07 22:48:26 +11:00
parent 82f22d9e14
commit 66ba021e9f

View file

@ -193,7 +193,8 @@ nouveau_pushbuf_flush(struct nouveau_channel *chan, unsigned min)
nouveau_fence_ref(NULL, &fence);
/* Allocate space for next push buffer */
assert(!nouveau_pushbuf_space(chan, min));
ret = nouveau_pushbuf_space(chan, min);
assert(!ret);
return 0;
}