wined3d: Rewrite the draw buffer selection code.
commitdf892ff67d8ae2c0f46b222f219b55029158c391
authorRoderick Colenbrander <thunderbird2k@gmx.net>
Tue, 6 Nov 2007 00:11:35 +0000 (6 01:11 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 6 Nov 2007 12:56:55 +0000 (6 13:56 +0100)
treea4c4dc13cf7e47f635de94610eb8ff14ad7dd053
parent3febe738ab34fe9ed23b5818d7e8c2ec77e8399f
wined3d: Rewrite the draw buffer selection code.

Before it was done in findContext, before selecting the new context
which is bad (it doesn't always work). The new code works and this
change also fixes some draw buffer regressions that happened during
the surface rewrite from the last couple of days.
dlls/wined3d/context.c
dlls/wined3d/wined3d_private.h