[Bug 8051] Sims 2 demo exits prematurely

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Dec 19 18:53:15 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=8051





--- Comment #29 from Stefan Dösinger <stefandoesinger at gmx.at>  2007-12-19 18:53:15 ---
I guess you're free to re-use the old surface or recreate it, but watch out for
the size. If the resolution changed you'll have to change the depth stencil
surface size as well. Either by recreating it, or by changing the surface like
it happens with the render targets.

Actually, I think it is better to just adjust the members in the surface,
otherwise you'll have to take care for re-creating the d3d8 and d3d9 surface as
well, not just the wined3d one.

You could extend the test to see what happens if you have any other surface in
D3DPOOL_DEFAULT. I think some MSDN page says that the application must release
all surfaces in D3DPOOL_DEFAULT(and depth stencil and render targets are in
that pool).


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list