From 856f3336dc6687c6629f88f67e589e007763ddf0 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Wed, 5 Oct 2011 16:56:24 +0200 Subject: [PATCH] d3d1x/context: fix IASetVertexBuffers stride comparison --- src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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; -- 2.30.2