projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c0a50
)
svga: Add an assert to catch reentrancy.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 3 Feb 2011 15:01:09 +0000
(15:01 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 3 Feb 2011 15:15:23 +0000
(15:15 +0000)
src/gallium/drivers/svga/svga_swtnl_backend.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_swtnl_backend.c
b/src/gallium/drivers/svga/svga_swtnl_backend.c
index d5db6bf641a2fbbb254336d2be147fea9afa4059..087f2d08540f5db0d396ba2798807deda855ae38 100644
(file)
--- a/
src/gallium/drivers/svga/svga_swtnl_backend.c
+++ b/
src/gallium/drivers/svga/svga_swtnl_backend.c
@@
-90,6
+90,7
@@
svga_vbuf_render_allocate_vertices( struct vbuf_render *render,
svga_render->vbuf_size);
if(!svga_render->vbuf) {
svga_context_flush(svga, NULL);
+ assert(!svga_render->vbuf);
svga_render->vbuf = pipe_buffer_create(screen,
PIPE_BIND_VERTEX_BUFFER,
svga_render->vbuf_size);