wined3d: Only update the swizzle and use map for streams that are actually used in...
commit877e252681b4d75abc2392704479ab78f332670d
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 9 Apr 2009 07:58:27 +0000 (9 09:58 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 9 Apr 2009 09:27:10 +0000 (9 11:27 +0200)
treecdfa670d3fd7c547405d433ab2b6411f63c69cda
parentf33ce58be8d3b39206f13c73ff2aca470cf17366
wined3d: Only update the swizzle and use map for streams that are actually used in device_stream_info_from_strided().

This fixes a regression introduced by d7c7c768507a923902e9178f98343e22e4e22652
and exposed by ef2d70418383f03c6bf701caeb67129acc6d2453. Unfortunately having
EXT_vertex_array_bgra support masks the problem, which is why the regression
tests didn't catch it.
dlls/wined3d/device.c