summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h b/src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h
index f3db3843bef..d6b640025a0 100644
--- a/src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h
+++ b/src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h
@@ -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;