summaryrefslogtreecommitdiffstats
path: root/include/GL/gl.h
diff options
context:
space:
mode:
authorTed Jump <tjump@users.sourceforge.net>1999-09-17 04:25:56 +0000
committerTed Jump <tjump@users.sourceforge.net>1999-09-17 04:25:56 +0000
commit6799ecb6753f2ec5b1b66c9e8c447bc82035f94c (patch)
tree90f5828bb80cd1236b59eb80fa87a2f5f6139026 /include/GL/gl.h
parent5eea3d068f0f5f3baa29157fc8dedc54acd06332 (diff)
Relocated wgl function prototypes to separate .h for easier work with fxwgl & glut
Diffstat (limited to 'include/GL/gl.h')
-rw-r--r--include/GL/gl.h26
1 files changed, 6 insertions, 20 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 202a7e91127..e45acbc066f 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -1,4 +1,4 @@
-/* $Id: gl.h,v 1.4 1999/09/17 02:44:19 tjump Exp $ */
+/* $Id: gl.h,v 1.5 1999/09/17 04:25:56 tjump Exp $ */
/*
* Mesa 3-D graphics library
@@ -57,10 +57,13 @@
# pragma warning( disable : 4761 ) /* integral size mismatch in argument; conversion supplied */
# if defined(_MSC_VER) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */
# define GLAPI __declspec(dllexport)
+# define WGLAPI __declspec(dllexport)
# elif defined(_MSC_VER) && defined(_DLL) /* tag specifying we're building for DLL runtime support */
# define GLAPI __declspec(dllimport)
+# define WGLAPI __declspec(dllimport)
# else /* for use with static link lib build of Win32 edition only */
# define GLAPI extern
+# define WGLAPI __declspec(dllimport)
# endif /* _STATIC_MESA support */
# define GLAPIENTRY __stdcall
# define GLCALLBACK __stdcall
@@ -107,25 +110,8 @@ typedef unsigned long COLORREF;
# endif /* !UNICODE */
typedef struct tagLAYERPLANEDESCRIPTOR LAYERPLANEDESCRIPTOR, *PLAYERPLANEDESCRIPTOR, *LPLAYERPLANEDESCRIPTOR;
typedef struct _GLYPHMETRICSFLOAT GLYPHMETRICSFLOAT, *PGLYPHMETRICSFLOAT, *LPGLYPHMETRICSFLOAT;
-GLAPI int GLAPIENTRY wglCopyContext(HGLRC, HGLRC, unsigned int);
-GLAPI HGLRC GLAPIENTRY wglCreateContext(HDC);
-GLAPI HGLRC GLAPIENTRY wglCreateLayerContext(HDC, int);
-GLAPI int GLAPIENTRY wglDeleteContext(HGLRC);
-GLAPI HGLRC GLAPIENTRY wglGetCurrentContext(void);
-GLAPI HDC GLAPIENTRY wglGetCurrentDC(void);
-GLAPI PROC GLAPIENTRY wglGetProcAddress(char*);
-GLAPI int GLAPIENTRY wglMakeCurrent(HDC, HGLRC);
-GLAPI int GLAPIENTRY wglShareLists(HGLRC, HGLRC);
-GLAPI int GLAPIENTRY wglUseFontBitmapsA(HDC, unsigned long, unsigned long, unsigned long);
-GLAPI int GLAPIENTRY wglUseFontBitmapsW(HDC, unsigned long, unsigned long, unsigned long);
-GLAPI int GLAPIENTRY wglUseFontOutlinesA(HDC, unsigned long, unsigned long, unsigned long, float,float, int, LPGLYPHMETRICSFLOAT);
-GLAPI int GLAPIENTRY wglUseFontOutlinesW(HDC, unsigned long, unsigned long, unsigned long, float,float, int, LPGLYPHMETRICSFLOAT);
-GLAPI int GLAPIENTRY wglDescribeLayerPlane(HDC, int, int, unsigned int,LPLAYERPLANEDESCRIPTOR);
-GLAPI int GLAPIENTRY wglSetLayerPaletteEntries(HDC, int, int, int,const COLORREF *);
-GLAPI int GLAPIENTRY wglGetLayerPaletteEntries(HDC, int, int, int,COLORREF *);
-GLAPI int GLAPIENTRY wglRealizeLayerPalette(HDC, int, int);
-GLAPI int GLAPIENTRY wglSwapLayerBuffers(HDC, unsigned int);
-GLAPI int GLAPIENTRY SwapBuffers(HDC);
+typedef struct tagPIXELFORMATDESCRIPTOR PIXELFORMATDESCRIPTOR, *PPIXELFORMATDESCRIPTOR, *LPPIXELFORMATDESCRIPTOR;
+#include <gl/mesa_wgl.h>
#endif