wgl function prototypes moved out to better work with fxwgl
authorTed Jump <tjump@users.sourceforge.net>
Fri, 17 Sep 1999 04:25:10 +0000 (04:25 +0000)
committerTed Jump <tjump@users.sourceforge.net>
Fri, 17 Sep 1999 04:25:10 +0000 (04:25 +0000)
include/GL/mesa_wgl.h [new file with mode: 0644]

diff --git a/include/GL/mesa_wgl.h b/include/GL/mesa_wgl.h
new file mode 100644 (file)
index 0000000..afa70d2
--- /dev/null
@@ -0,0 +1,33 @@
+/* prototypes for the Mesa WGL functions */\r
+/* relocated here so that I could make GLUT get them properly */\r
+\r
+#ifndef GL_H\r
+#include <gl/gl.h>\r
+#endif\r
+\r
+WGLAPI int   GLAPIENTRY wglDeleteContext(HGLRC);\r
+WGLAPI int   GLAPIENTRY wglMakeCurrent(HDC,HGLRC);\r
+WGLAPI int   GLAPIENTRY wglSetPixelFormat(HDC, int, const PIXELFORMATDESCRIPTOR *);\r
+WGLAPI int   GLAPIENTRY wglSwapBuffers(HDC hdc);\r
+WGLAPI HDC   GLAPIENTRY wglGetCurrentDC(void);\r
+WGLAPI HGLRC GLAPIENTRY wglCreateContext(HDC);\r
+WGLAPI HGLRC GLAPIENTRY wglCreateLayerContext(HDC,int);\r
+WGLAPI HGLRC GLAPIENTRY wglGetCurrentContext(void);\r
+WGLAPI PROC  GLAPIENTRY wglGetProcAddress(const char*);\r
+WGLAPI int   GLAPIENTRY SwapBuffers(HDC);\r
+WGLAPI int   GLAPIENTRY wglChoosePixelFormat(HDC, const PIXELFORMATDESCRIPTOR *);\r
+WGLAPI int   GLAPIENTRY wglCopyContext(HGLRC, HGLRC, unsigned int);\r
+WGLAPI int   GLAPIENTRY wglDeleteContext(HGLRC);\r
+WGLAPI int   GLAPIENTRY wglDescribeLayerPlane(HDC, int, int, unsigned int,LPLAYERPLANEDESCRIPTOR);\r
+WGLAPI int   GLAPIENTRY wglDescribePixelFormat(HDC,int, unsigned int, LPPIXELFORMATDESCRIPTOR);\r
+WGLAPI int   GLAPIENTRY wglGetLayerPaletteEntries(HDC, int, int, int,COLORREF *);\r
+WGLAPI int   GLAPIENTRY wglGetPixelFormat(HDC hdc);\r
+WGLAPI int   GLAPIENTRY wglMakeCurrent(HDC, HGLRC);\r
+WGLAPI int   GLAPIENTRY wglRealizeLayerPalette(HDC, int, int);\r
+WGLAPI int   GLAPIENTRY wglSetLayerPaletteEntries(HDC, int, int, int,const COLORREF *);\r
+WGLAPI int   GLAPIENTRY wglShareLists(HGLRC, HGLRC);\r
+WGLAPI int   GLAPIENTRY wglSwapLayerBuffers(HDC, unsigned int);\r
+WGLAPI int   GLAPIENTRY wglUseFontBitmapsA(HDC, unsigned long, unsigned long, unsigned long);\r
+WGLAPI int   GLAPIENTRY wglUseFontBitmapsW(HDC, unsigned long, unsigned long, unsigned long);\r
+WGLAPI int   GLAPIENTRY wglUseFontOutlinesA(HDC, unsigned long, unsigned long, unsigned long, float,float, int, LPGLYPHMETRICSFLOAT);\r
+WGLAPI int   GLAPIENTRY wglUseFontOutlinesW(HDC, unsigned long, unsigned long, unsigned long, float,float, int, LPGLYPHMETRICSFLOAT);\r