From: Ben Skeggs Date: Fri, 7 Mar 2008 11:48:26 +0000 (+1100) Subject: nouveau: another "argh gallium fscks with assert" fix X-Git-Tag: 062012170305~17580^2~496^2~298^2~16^2~344 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66ba021e9fa2fa932cb9be8fc2fb8272baf51fc6;p=profile%2Fivi%2Fmesa.git nouveau: another "argh gallium fscks with assert" fix --- diff --git a/src/gallium/winsys/dri/nouveau/nouveau_pushbuf.c b/src/gallium/winsys/dri/nouveau/nouveau_pushbuf.c index 7d5eddb..fd9a5c5 100644 --- a/src/gallium/winsys/dri/nouveau/nouveau_pushbuf.c +++ b/src/gallium/winsys/dri/nouveau/nouveau_pushbuf.c @@ -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; }