diff options
author | Brian Paul <[email protected]> | 1999-11-17 21:19:48 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-11-17 21:19:48 +0000 |
commit | 36d8d7ae815dc78e56ab64379d86f9e85b4d1c63 (patch) | |
tree | 4092de47d146261397be91238db06cd08df8b93c /include/GL/glut.h | |
parent | 80e872df2b1ed10751a99e56f8f2f342be1438e7 (diff) |
fixed some glitches (Eero Pajarre)
Diffstat (limited to 'include/GL/glut.h')
-rw-r--r-- | include/GL/glut.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/GL/glut.h b/include/GL/glut.h index 0c17f65b2cd..225bb87e525 100644 --- a/include/GL/glut.h +++ b/include/GL/glut.h @@ -152,7 +152,7 @@ typedef unsigned long COLORREF; # define wglUseFontOutlines wglUseFontOutlinesA # endif /* !UNICODE */ typedef struct tagLAYERPLANEDESCRIPTOR LAYERPLANEDESCRIPTOR, *PLAYERPLANEDESCRIPTOR, *LPLAYERPLANEDESCRIPTOR; -typedef struct _GLYPHMETRICSFLOAT GLYPHMETRICSFLOAT, *PGLYPHMETRICSFLOAT, *LPGLYPHMETRICSFLOAT +typedef struct _GLYPHMETRICSFLOAT GLYPHMETRICSFLOAT, *PGLYPHMETRICSFLOAT, *LPGLYPHMETRICSFLOAT; # pragma warning( push ) # pragma warning( disable : 4273 ) /* 'function' : inconsistent DLL linkage. dllexport assumed. */ # define WGLAPI __declspec(dllimport) @@ -183,7 +183,7 @@ WGLAPI int GLAPIENTRY wglUseFontOutlinesA(HDC, unsigned long, unsigned long, u 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 long,LPPIXELFORMATDESCRIPTOR); +WGLAPI int GLAPIENTRY DescribePixelFormat(HDC,int,unsigned int,LPPIXELFORMATDESCRIPTOR); WGLAPI int GLAPIENTRY GetPixelFormat(HDC); WGLAPI int GLAPIENTRY SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR *); # undef WGLAPI @@ -739,7 +739,6 @@ GLUTAPI int GLUTAPIENTRY glutGameModeGet(GLenum mode); #ifdef __cplusplus } - #endif #if 0 |