From: Christoph Bumiller Date: Wed, 5 Oct 2011 14:56:24 +0000 (+0200) Subject: d3d1x/context: fix IASetVertexBuffers stride comparison X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=856f3336dc6687c6629f88f67e589e007763ddf0;p=mesa.git d3d1x/context: fix IASetVertexBuffers stride comparison --- 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;