d3d1x/context: fix IASetVertexBuffers stride comparison
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 5 Oct 2011 14:56:24 +0000 (16:56 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 21 Oct 2011 21:00:38 +0000 (23:00 +0200)
src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h

index f3db3843bef8f34aa41ea199cacd22bd4da97d6c..d6b640025a0cafeffb93f3a8a69b22b885460270 100644 (file)
@@ -599,7 +599,7 @@ struct GalliumD3D10Device : public GalliumD3D10ScreenImpl<threadsafe>
                        ID3D11Buffer* buffer = new_vertex_buffers[i];
                        if(buffer != input_buffers[start + i].p
                                || vertex_buffers[start + i].buffer_offset != new_offsets[i]
-                               || vertex_buffers[start + i].stride != new_offsets[i]
+                               || vertex_buffers[start + i].stride != new_strides[i]
                        )
                        {
                                input_buffers[start + i] = buffer;