Re: d3d9: update locked_rect only if wined3d_surface_map succeeded

2013-10-05 Thread Lasse Rasinen
Stefan Dösinger writes: > Am 2013-10-03 21:45, schrieb Henri Verbeet: >> On 3 October 2013 21:16, Lasse Rasinen wrote: >>> According to debugging output, Artemis Spaceship Bridge Simulator >>> 2.0 calls LockRect twice on the same texture (for whatever >>> reason) and crashes. >>> >>> http://bug

Re: d3d9: update locked_rect only if wined3d_surface_map succeeded

2013-10-03 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-10-03 21:45, schrieb Henri Verbeet: > On 3 October 2013 21:16, Lasse Rasinen wrote: >> According to debugging output, Artemis Spaceship Bridge Simulator >> 2.0 calls LockRect twice on the same texture (for whatever >> reason) and crashes. >>

Re: d3d9: update locked_rect only if wined3d_surface_map succeeded

2013-10-03 Thread Henri Verbeet
On 3 October 2013 21:16, Lasse Rasinen wrote: > According to debugging output, Artemis Spaceship Bridge Simulator 2.0 > calls LockRect twice on the same texture (for whatever reason) and crashes. > > http://bugs.winehq.org/show_bug.cgi?id=34271 > > This change prevents the locked_rect being overwr