wined3d: Avoid some common invalid context accesses.
commit7c930589bc40097eb0ebb84310a3ea0ae6999edb
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 17 Mar 2010 20:59:54 +0000 (17 21:59 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 18 Mar 2010 09:25:09 +0000 (18 10:25 +0100)
tree795c4c74b6ccdff074acaaa22380528b808027cb
parent135f36411044a55c5b71c7c52651203deaf8917a
wined3d: Avoid some common invalid context accesses.

Unfortunately there are plenty of other places left. Perhaps we should
consider creating our own window when the context becomes invalid and making
the context current on that instead.
dlls/wined3d/device.c
dlls/wined3d/drawprim.c
dlls/wined3d/swapchain.c