[Bug 5310] GDI32.SwapBuffers should call OPENGL32.wglSwapBuffers, not vice versa

Wine Bugs wine-bugs at winehq.org
Tue Nov 14 16:01:30 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=5310





------- Additional Comments From frank.richter at gmail.com  2006-14-11 16:01 -------
The reason for glIntercept going the way it does is probably simplicity, for
both the user and developer: having a drop-in opengl32.dll makes it easy to
enable/disable glintercept as needed; and the developer does not have the mess
with potentially problematic things like hooking gdi32 function calls.
Why Windows does GDI32->opengl32 I don't entirely know; one reason might be to
ease the life for ICD developers so they have also control about things like
pixel format. Possibly gdi32 doesn't do forwarding alone but wraps the wgl calls
in some way.

-- 
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 mailing list