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

wined3d: Don't use drawStridedFast() for drawing pretransformed vertices.

This was exposed by adding EXT_vertex_array_bgra support, previously we would almost never hit this because color data being present would already prevent us from using drawStridedFast(). Thanks to Stefan for spotting this.
parent 0cc5f0d3
......@@ -4278,6 +4278,7 @@ static void streamsrc(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3DCo
device->useDrawStridedSlow = FALSE;
}
} else if (fixup || (!dataLocations->u.s.pSize.lpData
&& !dataLocations->position_transformed
&& (GL_SUPPORT(EXT_VERTEX_ARRAY_BGRA)
|| (!dataLocations->u.s.diffuse.lpData
&& !dataLocations->u.s.specular.lpData))))
......
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