summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/dri/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-03-07 22:48:26 +1100
committerBen Skeggs <[email protected]>2008-03-07 22:48:26 +1100
commit66ba021e9fa2fa932cb9be8fc2fb8272baf51fc6 (patch)
tree293f2f167f473e76d17506668c65411985612c3a /src/gallium/winsys/dri/nouveau
parent82f22d9e147ed55c2ca513ebc2d069e197d36ea8 (diff)
nouveau: another "argh gallium fscks with assert" fix
Diffstat (limited to 'src/gallium/winsys/dri/nouveau')
-rw-r--r--src/gallium/winsys/dri/nouveau/nouveau_pushbuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/dri/nouveau/nouveau_pushbuf.c b/src/gallium/winsys/dri/nouveau/nouveau_pushbuf.c
index 7d5eddb92ff..fd9a5c5a96d 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;
}