lionel.ulmer at free.fr
Thu Jun 6 16:59:20 CDT 2002
> I do think it's odd as well since a more basic function can handle it.
> fixme:opengl:wglSwapLayerBuffers (0000087c, 00000001)
> ..repeated until exiting the game.
> So it's basically switching the main layer over and over again?
Yes, so they are simply 'emulating' SwapBuffers with the
'wglSwapLayerBuffers' call (as they only request swapping of the main buffer
as shown by the 0x00000001 parameter given to the fuPlane parameter).
> I don't think it uses other layers. Because I think there would be a
> graphics corruption if it did. None have been observed so far.
Anyway, as seen in the trace you posted, they seem to not use it.
> Heh, since I'm a beta tester, I can ask blizz why they even use this
> function, and see if they respond.
You could always try...
> And it's the best running game I've seen running under wine. =)
A pity I am not a fan of RTS games :-)
Lionel (wondering if MacOS X is not to thank for all those OpenGL
+ D3D games coming out)
Lionel Ulmer - http://www.bbrox.org/
More information about the wine-devel