summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/d3d1x/gd3d11
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-10-05 16:56:24 +0200
committerChristoph Bumiller <[email protected]>2011-10-21 23:00:38 +0200
commit856f3336dc6687c6629f88f67e589e007763ddf0 (patch)
treed71a2520a6af8c9835c1af87b4ea37111ae3937e /src/gallium/state_trackers/d3d1x/gd3d11
parent5b6f3a2e3c1d364d243f170b0c9628f746301dea (diff)
d3d1x/context: fix IASetVertexBuffers stride comparison
Diffstat (limited to 'src/gallium/state_trackers/d3d1x/gd3d11')
-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;