Commit c1c58f85 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Properly check if an attribute is used in drawStridedSlowVs().

parent 16b0c6a0
......@@ -451,8 +451,9 @@ static void drawStridedSlowVs(IWineD3DDevice *iface, const struct wined3d_stream
}
}
for(i = MAX_ATTRIBS - 1; i >= 0; i--) {
if(!si->elements[i].data) continue;
for (i = MAX_ATTRIBS - 1; i >= 0; i--)
{
if (!(si->use_map & (1 << i))) continue;
ptr = si->elements[i].data +
si->elements[i].stride * SkipnStrides +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment