r300g: Remove redundant initialization.
authorVinson Lee <vlee@vmware.com>
Mon, 14 Feb 2011 18:47:58 +0000 (10:47 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 14 Feb 2011 18:47:58 +0000 (10:47 -0800)
Remove redundant initialization from commit
3b01b52bd78e3d2fc857feacebd815a5fae00c94 noticed by tstellar.

src/gallium/drivers/r300/r300_emit.c

index 9c3a5e882f224b13f431be9ca46586c984af8480..6ded8687bbc1bfa82629112514204c32348d75f5 100644 (file)
@@ -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);