summaryrefslogtreecommitdiffstats
path: root/include/GL/mesa_wgl.h
diff options
context:
space:
mode:
authorTed Jump <[email protected]>1999-10-20 06:56:40 +0000
committerTed Jump <[email protected]>1999-10-20 06:56:40 +0000
commit3f17dfb8ba48d874814ce0e4a0b7d9e57feb4c36 (patch)
tree1b41492c6bb5c76d71517a87546596cdea521fd9 /include/GL/mesa_wgl.h
parentd53573daf7bb53a41c9307339d70cfbba4f3b7a5 (diff)
Minor patches to cleanup some compiler warnings in MSVC
Diffstat (limited to 'include/GL/mesa_wgl.h')
-rw-r--r--include/GL/mesa_wgl.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/include/GL/mesa_wgl.h b/include/GL/mesa_wgl.h
index afa70d2c62f..40bbe573542 100644
--- a/include/GL/mesa_wgl.h
+++ b/include/GL/mesa_wgl.h
@@ -2,7 +2,12 @@
/* relocated here so that I could make GLUT get them properly */
#ifndef GL_H
-#include <gl/gl.h>
+# include <gl/gl.h>
+#endif
+
+#ifdef _MSC_VER
+# pragma warning( push )
+# pragma warning( disable : 4273 ) /* 'function' : inconsistent DLL linkage. dllexport assumed. */
#endif
WGLAPI int GLAPIENTRY wglDeleteContext(HGLRC);
@@ -14,7 +19,6 @@ WGLAPI HGLRC GLAPIENTRY wglCreateContext(HDC);
WGLAPI HGLRC GLAPIENTRY wglCreateLayerContext(HDC,int);
WGLAPI HGLRC GLAPIENTRY wglGetCurrentContext(void);
WGLAPI PROC GLAPIENTRY wglGetProcAddress(const char*);
-WGLAPI int GLAPIENTRY SwapBuffers(HDC);
WGLAPI int GLAPIENTRY wglChoosePixelFormat(HDC, const PIXELFORMATDESCRIPTOR *);
WGLAPI int GLAPIENTRY wglCopyContext(HGLRC, HGLRC, unsigned int);
WGLAPI int GLAPIENTRY wglDeleteContext(HGLRC);
@@ -31,3 +35,12 @@ WGLAPI int GLAPIENTRY wglUseFontBitmapsA(HDC, unsigned long, unsigned long, un
WGLAPI int GLAPIENTRY wglUseFontBitmapsW(HDC, unsigned long, unsigned long, unsigned long);
WGLAPI int GLAPIENTRY wglUseFontOutlinesA(HDC, unsigned long, unsigned long, unsigned long, float,float, int, LPGLYPHMETRICSFLOAT);
WGLAPI int GLAPIENTRY wglUseFontOutlinesW(HDC, unsigned long, unsigned long, unsigned long, float,float, int, LPGLYPHMETRICSFLOAT);
+WGLAPI int GLAPIENTRY SwapBuffers(HDC);
+WGLAPI int GLAPIENTRY ChoosePixelFormat(HDC,const PIXELFORMATDESCRIPTOR *);
+WGLAPI int GLAPIENTRY DescribePixelFormat(HDC,int,unsigned int,PIXELFORMATDESCRIPTOR *);
+WGLAPI int GLAPIENTRY GetPixelFormat(HDC);
+WGLAPI int GLAPIENTRY SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR *);
+
+#ifdef _MSC_VER
+# pragma warning( pop )
+#endif