projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82f22d9
)
nouveau: another "argh gallium fscks with assert" fix
author
Ben Skeggs
<skeggsb@gmail.com>
Fri, 7 Mar 2008 11:48:26 +0000
(22:48 +1100)
committer
Ben Skeggs
<skeggsb@gmail.com>
Fri, 7 Mar 2008 11:48:26 +0000
(22:48 +1100)
src/gallium/winsys/dri/nouveau/nouveau_pushbuf.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/dri/nouveau/nouveau_pushbuf.c
b/src/gallium/winsys/dri/nouveau/nouveau_pushbuf.c
index 7d5eddb92ff81bc41500125437f94f92294f09d6..fd9a5c5a96d54a0a4ea6b2e400c3e015f7aecf12 100644
(file)
--- 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;
}