diff options
| author | Dominik Geyer <dominik.geyer@gmx.de> | 2008-10-16 17:09:34 +0000 |
|---|---|---|
| committer | Dominik Geyer <dominik.geyer@gmx.de> | 2008-10-16 17:09:34 +0000 |
| commit | 977785b154f4153cc99e5c0ca866c154bb71bfbc (patch) | |
| tree | 4fb2db379164c0b8cf1cf70c2a3d2ebc41e8704d /src/engine/external/glfw/lib/win32/platform.h | |
| parent | 07fc7ec8f899abdf8f24f9e17d019ee6b3a33a68 (diff) | |
| download | zcatch-977785b154f4153cc99e5c0ca866c154bb71bfbc.tar.gz zcatch-977785b154f4153cc99e5c0ca866c154bb71bfbc.zip | |
updated to glfw-1.6 and merged previous modifications
Diffstat (limited to 'src/engine/external/glfw/lib/win32/platform.h')
| -rw-r--r-- | src/engine/external/glfw/lib/win32/platform.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/engine/external/glfw/lib/win32/platform.h b/src/engine/external/glfw/lib/win32/platform.h index 25ada3b0..b7c9f02d 100644 --- a/src/engine/external/glfw/lib/win32/platform.h +++ b/src/engine/external/glfw/lib/win32/platform.h @@ -130,11 +130,15 @@ typedef struct tagKBDLLHOOKSTRUCT { #endif // wglSwapIntervalEXT typedef (Win32 buffer-swap interval control) -typedef int (APIENTRY * WGLSWAPINTERVALEXT_T) (int interval); +typedef int (APIENTRY * WGLSWAPINTERVALEXT_T) (int); // wglChoosePixelFormatARB typedef -typedef BOOL (WINAPI * WGLCHOOSEPIXELFORMATARB_T) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); +typedef BOOL (WINAPI * WGLCHOOSEPIXELFORMATARB_T) (HDC, const int *, const FLOAT *, UINT, int *, UINT *); // wglGetPixelFormatAttribivARB typedef -typedef BOOL (WINAPI * WGLGETPIXELFORMATATTRIBIVARB_T) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues); +typedef BOOL (WINAPI * WGLGETPIXELFORMATATTRIBIVARB_T) (HDC, int, int, UINT, const int *, int *); +// wglGetExtensionStringEXT typedef +typedef const char *(APIENTRY * WGLGETEXTENSIONSSTRINGEXT_T)( void ); +// wglGetExtensionStringARB typedef +typedef const char *(APIENTRY * WGLGETEXTENSIONSSTRINGARB_T)( HDC ); #define WGL_DRAW_TO_WINDOW_ARB 0x2001 #define WGL_SUPPORT_OPENGL_ARB 0x2010 @@ -280,9 +284,11 @@ struct _GLFWwin_struct { DWORD dwExStyle; // --"-- // Platform specific extensions (context specific) - WGLSWAPINTERVALEXT_T SwapInterval; - WGLCHOOSEPIXELFORMATARB_T ChoosePixelFormat; + WGLSWAPINTERVALEXT_T SwapInterval; + WGLCHOOSEPIXELFORMATARB_T ChoosePixelFormat; WGLGETPIXELFORMATATTRIBIVARB_T GetPixelFormatAttribiv; + WGLGETEXTENSIONSSTRINGEXT_T GetExtensionsStringEXT; + WGLGETEXTENSIONSSTRINGARB_T GetExtensionsStringARB; // Various platform specific internal variables int OldMouseLock; // Old mouse-lock flag (used for remembering |