r300g: allow unaligned vertex formats if the stride is dword-aligned
[mesa.git] / src / gallium / drivers / r300 / r300_transfer.c
index b795b2e5abe62a845c7109fff84980620536d81d..0dae9ef98b739473185edaa6034ae8dae17be9a5 100644 (file)
@@ -150,7 +150,7 @@ r300_texture_get_transfer(struct pipe_context *ctx,
             base.depth0 = 0;
             base.last_level = 0;
             base.nr_samples = 0;
-            base._usage = PIPE_USAGE_DYNAMIC;
+            base.usage = PIPE_USAGE_DYNAMIC;
             base.bind = 0;
            base.flags = R300_RESOURCE_FLAG_TRANSFER;