wined3d: Don't clear the GL context if it's not the one being destroyed by context_de...
commit59226e36b79b60a26345481022109ccce9341cb4
authorKen Thomases <ken@codeweavers.com>
Wed, 5 Feb 2014 21:24:19 +0000 (5 15:24 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 6 Feb 2014 16:08:09 +0000 (6 17:08 +0100)
tree2511513ddb09bc5cc51b39aecf94cfb81e3f3319
parent75d53c9aed0b93b5a3607d2949d04d0570e781b1
wined3d: Don't clear the GL context if it's not the one being destroyed by context_destroy_gl_resources().

The previous code clears the GL context if the context being destroyed is
not valid, even though the current one is some arbitrary, unrelated context.
dlls/wined3d/context.c