wined3d: Use context->valid in context_destroy_gl_resources().
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 20 Oct 2009 09:05:05 +0000 (11:05 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 20 Oct 2009 12:00:36 +0000 (14:00 +0200)
commite3ca576576c46131330353f45990f55045cf7541
treed60bd7a759fadcdd0c40d1e1a524eb51b1a29b66
parent43aaaa8a4b1b92976e466c63eab1cd1c6e9c0134
wined3d: Use context->valid in context_destroy_gl_resources().

Instead of relying on wglMakeCurrent() to do what we want.
dlls/wined3d/context.c