diff options
Diffstat (limited to 'src/gallium/winsys/dri/nouveau/nouveau_pushbuf.c')
-rw-r--r-- | src/gallium/winsys/dri/nouveau/nouveau_pushbuf.c | 3 |
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; } |