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:
parent
0cc5f0d3eb
commit
bae1ec98ca
|
@ -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))))
|
||||
|
|
Loading…
Reference in New Issue