ddraw: Only update primary_lock when we're actually locking the frontbuffer.
commit38abddca68c2cb7ef8ed35bc2332a2f3baa15a1e
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 27 Oct 2011 15:06:24 +0000 (27 17:06 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 27 Oct 2011 17:34:09 +0000 (27 19:34 +0200)
tree6de920762209926e2f16d5527534680c4ea89836
parent61550ff1decf346692deb6ae7c908926015789ca
ddraw: Only update primary_lock when we're actually locking the frontbuffer.

This fixes a regression introduced by commit
8330558e125c9073068ffbd7741f1128c17c1e08.
dlls/ddraw/surface.c