[1/2] opengl32/tests: Add tests for special case of SetPixelFormat

Henri Verbeet hverbeet at gmail.com
Thu Nov 18 08:35:09 CST 2010


On 18 November 2010 15:05, Matijn Woudt <tijnema at gmail.com> wrote:
> For the implementation, we might be able to detect this inside
> CreateDevice, and skip the creation of a swapchain. Not sure if that's
> a correct fix though.
>
Swapchain creation isn't something you want to skip. Perhaps it's
possible to delay GL context creation until something actually needs
it though. I'm curious if things like DrawPrimitive() shouldn't fail
anyway when the device is created with GetDesktopWindow() as window.
Another option may be to allow the D3D context to be created, but
immediately mark it invalid.



More information about the wine-devel mailing list