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.
This commit is contained in:
Henri Verbeet 2009-01-23 10:22:34 +01:00 committed by Alexandre Julliard
parent 0cc5f0d3eb
commit bae1ec98ca
1 changed files with 1 additions and 0 deletions

View File

@ -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))))