wined3d: Set the currently active context to NULL when it's destroyed.
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 23 Mar 2009 07:30:15 +0000 (08:30 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 23 Mar 2009 13:08:02 +0000 (14:08 +0100)
commit1f4e7b27ed73214a764e33b9bf2df193b17d57ed
tree7ce9a84a55a9cfc7238a3ed43ab8c08354ddeaab
parent89721c2173bbf184ee45d8665323ddad3ef9f324
wined3d: Set the currently active context to NULL when it's destroyed.

This should make us crash when trying to use the "currently active" context
after it has been destroyed, rather than messing around with freed memory.
dlls/wined3d/context.c