wined3d: Prevent GL calls from DestroyContext() if we failed to make the GL context...
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 29 Jun 2009 08:11:23 +0000 (10:11 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 29 Jun 2009 10:30:24 +0000 (12:30 +0200)
commit40565211fb70bff4b1622570a6b11edd646c00bd
treed634009d4df78b47defd9a1b1f0b45435e49251b
parent6df3f23bcac946405cd7509777f2a084049f28c2
wined3d: Prevent GL calls from DestroyContext() if we failed to make the GL context current.

This can happen if the window is destroyed before the device is released.
dlls/wined3d/context.c