Move wgl declarations to wingdi.h

Aric Cyr aric.cyr at
Fri Dec 2 11:12:23 CST 2005

Here is a patch which moves all of the standard WGL functions from the
dlls/opengl32/wgl.h header file to the correct location (according to
MSDN), inside include/wingdi.h.  The patch also removes some
extensions that were declared in wgl.h for no apparent reason, which
leaves wgl.h empty and can be removed (there are no remaining
dependent files either).

        Move standard WGL function declarations to wingdi.h
        dlls/opengl32/wgl.h is now empty and no longer needed

 dlls/opengl32/wgl.c     |    4 +-
 dlls/opengl32/wgl.h     |   77 ------------------------------------------------
 dlls/opengl32/wgl_ext.c |    6 +++
 include/wingdi.h        |   18 +++++++++++
 4 files changed, 26 insertions(+), 79 deletions(-)

Aric Cyr <Aric.Cyr at gmail dot com>    (
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wgl.patch
Type: application/octet-stream
Size: 5659 bytes
Desc: not available
Url :

More information about the wine-patches mailing list