http://bugs.winehq.org/show_bug.cgi?id=24548
--- Comment #7 from Wylda wylda@volny.cz 2010-09-28 08:26:19 CDT ---
You were right, it seems to me, that it comes from older times.
1. I did a regression test between 1.1.29 and 1.1.30:
commit a5214c306fd82982ed10fd8221ac00230186c9a6 Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Sep 16 08:37:15 2009 +0200
wined3d: Don't free D3D surfaces until the wined3d surface is destroyed.
This prevents for example a d3d9 depth stencil from being destroyed when it has no external references but is still in use by the device/stateblock. A nice side effect is that it simplifies handling of "implicit" surfaces like the frontbuffer and backbuffers, as well as the forwarding of reference counts for surfaces that are part of a texture.
2. There was another bug report suffering from this commit, see bug 23201.
3. Revert of this patch after git checkout makes that problem go away.
Tested under changed X resolution to 800x600 (not a windowed mode).