wined3d: Use less strict pixel format matching if the match fails.
commit1219e3d4a752a1e5e6d9a4025d180f0c9da280f0
authorStefan Dösinger <stefan@codeweavers.com>
Mon, 21 Jul 2008 14:22:22 +0000 (21 09:22 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 22 Jul 2008 11:00:47 +0000 (22 13:00 +0200)
treed4b4ed7773048f429b931c173ff2259e036fb91e
parent80fe2faeb6c794a3e37e600cd6d0e7e8cbd27b87
wined3d: Use less strict pixel format matching if the match fails.

Some drivers(the open source ones most notably) cannot satisfy all
possible D3D formats. This doesn't mean we should fall back to the
emergency fallback instantly. Instead, try to loosen the requirements
step by step.
dlls/wined3d/context.c