[Bug 5310] GDI32.SwapBuffers should call OPENGL32.wglSwapBuffers,
not vice versa
wine-bugs at winehq.org
Tue Nov 14 16:54:22 CST 2006
------- Additional Comments From the3dfxdude at gmail.com 2006-14-11 16:54 -------
Yeah probably. I can't find any documentation for GdiSwapBuffers, so it's
probably more or less internal to the API.
So what I'm seeing is that SwapBuffers should basically be renamed
GdiSwapBuffers. After that a new SwapBuffers is written to check for use of
OpenGL, if true, calls opengl32.wglSwapBuffers. Else calls GdiSwapBuffers. Then
all we need is opengl32.wglSwapBuffers to call GdiSwapBuffers. And the same
pattern follows for the rest of the wgl/Gdi combos. So I suppose this could be
done after Roderick is finished with moving wgl over to gdi? Of course it should
only be done when we confirm it can take this path. And yes, it might still
import the original gdi functions; I think we only need to be concerned with
what is shown in the opengl32.spec as getting forwarded back to gdi.
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs