summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2011-02-14 10:47:58 -0800
committerVinson Lee <vlee@vmware.com>2011-02-14 10:47:58 -0800
commitd123959ff75b2a83e02f4594f3e072c31c7fd8d9 (patch)
tree57c15955a1933ec5d76e72d8c557133ba6cd7838 /src/gallium/drivers/r300
parent9e96ea0652dda64f8eb311d7dfc9c50519ad02f0 (diff)
r300g: Remove redundant initialization.
Remove redundant initialization from commit 3b01b52bd78e3d2fc857feacebd815a5fae00c94 noticed by tstellar.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index 9c3a5e882f..6ded8687bb 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -815,7 +815,7 @@ void r300_emit_vertex_arrays(struct r300_context* r300, int offset, boolean inde
unsigned vertex_array_count = r300->velems->count;
unsigned packet_size = (vertex_array_count * 3 + 1) / 2;
struct pipe_vertex_buffer *vb1, *vb2;
- unsigned *hw_format_size = r300->velems->format_size;
+ unsigned *hw_format_size;
unsigned size1, size2;
CS_LOCALS(r300);