Am Freitag, 15. Februar 2008 04:00:20 schrieb Peter Dons Tychsen:
> I think there is a general problem in swapchain->release. The swapchain
> should only change the resolution back to the original *if* the current
> resolution is still the same as the swapchain enforced. If someone else
> has inter
On Thu, 2008-02-14 at 09:18 +0100, Stefan Dösinger wrote:
> Am Donnerstag, 14. Februar 2008 04:22:16 schrieb Peter Dons Tychsen:
> > Why does the SwapChain-destroy function play around with the resolution
> > at all. Is that really necessary? I think it should not do it if the
> > caller is ddraw a
Hello S.
I have studied this a bit more.
The app seems to do this purposely.
In any case wined3d should not change the mode in this case.
Either wined3d must detect this, or the code should be moved into
d3d8/d3d9.
On a similar note, i found i found a funny "RestoreDisplayMode()" call
in "SetCoo
Am Donnerstag, 14. Februar 2008 04:22:16 schrieb Peter Dons Tychsen:
> Why does the SwapChain-destroy function play around with the resolution
> at all. Is that really necessary? I think it should not do it if the
> caller is ddraw at least.
I thought I'm filtering this out in the case of ddraw, bu
Hi Stefan/Devs.
The funny old game "Insane" has a resolution bug when it exits.
I am not sure exactly how to fix this.
1) It call SetDisplayMode() - switches from 1280 x 1024 -> 640 x 480.
OK.
2) It creates a 3D surface which starts the SwapChain - swapchain saves
current resolution.
3) Exit. It