On Wednesday 01 June 2011 20:37:36 paulo lesgaz wrote:
Yes, see bug 25660 My tests prove that DDSCL_CREATEDEVICEWINDOW+DDSCL_EXCLUSIVE+DDSCL_FULLSCREEN is allowed with a NULL window. That is what expected by Half life I demo.
Erm, I missed that in your patch, it was right at the top of the function.
have are somewhat unsatisfying, we don't have a single test where DDSCL_CREATEDEVICEWINDOW is supposed to succeed.
Maybe it would be the subject of an another patch?
Yes, although I am interested in things beyond the return value of SetCooperativeLevel. E.g. how does the device window work wrt clipping - is the primary surface rendered to the device window, or is it still rendered to the screen(to see what I mean run the dx7 sdk's ddraw font sample on Windows). Is there a relationship between the front buffer's size and the device window? With a device window, does the front buffer still have screen size, or does it have the size of the device window at creation time?
Some of those things are probably tricky to test from an automated test.