wined3d: Don't continue with CheckDeviceFormat when the texture format isn't around.
commit5d151c0ffc60627b1d54ae397a83ef1770491d1b
authorRoderick Colenbrander <thunderbird2k@gmx.net>
Fri, 21 Mar 2008 21:11:12 +0000 (21 21:11 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 22 Mar 2008 10:45:58 +0000 (22 11:45 +0100)
tree9ff39cdf0341b3907a5ada04108fa4ef30021b7a
parent460f0d16087aad2abd9e1524b15c096415fafe51
wined3d: Don't continue with CheckDeviceFormat when the texture format isn't around.

It is legal to pass Usage=0 to CheckDeviceFormat and in both this case
and in the case a format isn't available UsageCaps would be 0 and a
format would be reported available.
dlls/wined3d/directx.c