wined3d: Use a separate flag to track if the GL context needs to be made current.
commitbaa85a097a48f0c88b1cbbf4e36bc81fde7496d6
authorKen Thomases <ken@codeweavers.com>
Wed, 19 Feb 2014 22:14:04 +0000 (19 16:14 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 22 Feb 2014 14:41:47 +0000 (22 08:41 -0600)
tree6f90094ad686ed547ae1a3d74dbd21f1fd43e9ef
parent2d1e67ee6848dd6b06beee44fdc167c9de811da9
wined3d: Use a separate flag to track if the GL context needs to be made current.

The new needs_set flag can be cleared after it's been heeded whereas restore_ctx
must not be cleared until the context has been released back to level 0.
dlls/wined3d/context.c
dlls/wined3d/wined3d_private.h