wined3d: When restoring pixel format in context_release(), mark the context as needin...
commit57c51710e0a4474872125cc54be7562ea8db6ccd
authorKen Thomases <ken@codeweavers.com>
Mon, 24 Mar 2014 03:46:04 +0000 (23 22:46 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 24 Mar 2014 19:20:12 +0000 (24 20:20 +0100)
treeecd7a22364d43ed6c936b0a891583095131e955e
parentffb357b717680b52917f280b3716da7b387f4af2
wined3d: When restoring pixel format in context_release(), mark the context as needing to be set on the next context_acquire().

If we had to restore the pixel format then we know it won't be what we need
when the app calls into wined3d again.  This helps avoid the GetPixelFormat()
in context_acquire().
dlls/wined3d/context.c