wined3d: Remove some code that doesn't make sense.
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 13 Oct 2009 08:38:04 +0000 (10:38 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 13 Oct 2009 09:38:28 +0000 (11:38 +0200)
commit8949a2c1ad2a6969b5fb53f754586c80593c7dab
tree6df8a866afe4da97df64a08d2676c5790f7d4c6a
parentaa96a4559eaf0cd830cef5e6a0cb8c1cb667cc11
wined3d: Remove some code that doesn't make sense.

This was introduced by abb11f30cd418c6337a93a26981763b20c059172, but I don't
see how it could ever do something useful. Perhaps that's a lack of
imagination on my part, but the only situation in which device->stateBlock
should be NULL is while creating the initial stateblock, and in that case we
just returned in the line above. Setting the stream frequency of all streams
to 0x01010101 doesn't make sense either.
dlls/wined3d/stateblock.c