projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: decrease the size of pipe_vertex_buffer - 24 -> 16 bytes
[mesa.git]
/
src
/
gallium
/
drivers
/
svga
/
svga_pipe_vertex.c
diff --git
a/src/gallium/drivers/svga/svga_pipe_vertex.c
b/src/gallium/drivers/svga/svga_pipe_vertex.c
index 4b3f5d82e8c2aeaf5923b3b2d2d62110aab58440..5243ae613eea51210bb74dba8529c4436c806f3d 100644
(file)
--- a/
src/gallium/drivers/svga/svga_pipe_vertex.c
+++ b/
src/gallium/drivers/svga/svga_pipe_vertex.c
@@
-328,7
+328,7
@@
void svga_cleanup_vertex_state( struct svga_context *svga )
unsigned i;
for (i = 0 ; i < svga->curr.num_vertex_buffers; i++)
- pipe_
resource_reference(&svga->curr.vb[i].buffer, NULL
);
+ pipe_
vertex_buffer_unreference(&svga->curr.vb[i]
);
pipe_resource_reference(&svga->state.hw_draw.ib, NULL);