Re: Detect screen resolution change errors

2007-02-04 Thread Stefan Dösinger
Am Freitag 02 Februar 2007 16:24 schrieb Francois Gouget: > Is there some code that would show what cleaning the GL context entails? >I have looked at the other exit paths of CreateAdditionalSwapChain() > but the only relevant one only does stuff if object->frontBuffer != NULL > which cannot b

Re: Detect screen resolution change errors

2007-02-04 Thread Francois Gouget
H. Verbeet wrote: On 30/01/07, Francois Gouget <[EMAIL PROTECTED]> wrote: I have attached the relevant patches. Does this look ok to the DirectX gurus? At least the wined3d part looks ok to me, although we should probably be cleaning up the GL context as well, there and in the other places whe

Re: Detect screen resolution change errors

2007-02-04 Thread Francois Gouget
Stefan Dösinger wrote: Am Mittwoch 31 Januar 2007 10:25 schrieb H. Verbeet: On 30/01/07, Francois Gouget <[EMAIL PROTECTED]> wrote: I have attached the relevant patches. Does this look ok to the DirectX gurus? At least the wined3d part looks ok to me, although we should probably be cleaning up

Re: Detect screen resolution change errors

2007-01-31 Thread Stefan Dösinger
Am Mittwoch 31 Januar 2007 10:25 schrieb H. Verbeet: > On 30/01/07, Francois Gouget <[EMAIL PROTECTED]> wrote: > > I have attached the relevant patches. Does this look ok to the DirectX > > gurus? > > At least the wined3d part looks ok to me, although we should probably > be cleaning up the GL cont

Re: Detect screen resolution change errors

2007-01-31 Thread H. Verbeet
On 30/01/07, Francois Gouget <[EMAIL PROTECTED]> wrote: I have attached the relevant patches. Does this look ok to the DirectX gurus? At least the wined3d part looks ok to me, although we should probably be cleaning up the GL context as well, there and in the other places where we return.

Detect screen resolution change errors

2007-01-30 Thread Francois Gouget
When I run the dlls/d3d9/device conformance test on Windows in VMware, I get a trace telling me that IDirect3D9_CreateDevice() failed and returned 0x8876086c. This seems to be because Windows has trouble changing the screen resolution when running in VMware (though it's perfectly capable of d