PDA

View Full Version : wglext.h bug



Executor
06-04-2009, 05:42 AM
#ifndef WGL_3DL_stereo_control
#define WGL_3DL_stereo_control 1
#ifdef WGL_WGLEXT_PROTOTYPES
extern BOOL WINAPI wglSetStereoEmitterState3DL (, HDC, , UINT);
#endif /* WGL_WGLEXT_PROTOTYPES */
typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) ( HDC, HDC hDC, UINT, UINT uState);
#endif

Executor
06-04-2009, 05:49 AM
From spec:

New Procedures and Functions
BOOL wglSetStereoEmitterState3DL(HDC hDC, UINT uState)

Shinta
06-05-2009, 02:04 AM
Hmm, shouldn't it look more like this? :


#ifndef WGL_3DL_stereo_control
#define WGL_3DL_stereo_control 1
#ifdef WGL_WGLEXT_PROTOTYPES
extern BOOL WINAPI wglSetStereoEmitterState3DL (HDC, UINT);
#endif /* WGL_WGLEXT_PROTOTYPES */
typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) ( HDC hDC, UINT uState);
#endif

_NK47
06-05-2009, 05:33 AM
keep wglext.h updated on a regular basis. maybe some "find and replace" thing caused some damage. i had once unavailable function pointers because my ext headers where couple years old.

Executor
06-05-2009, 05:38 AM
Hmm, shouldn't it look more like this?

Yes...
I report about this on bugzilla, I hope soon ARB correct bug...

Executor
06-15-2009, 05:20 AM
Up... Bug not fixed...
!?!?

Brolingstanz
06-15-2009, 03:33 PM
I imagine they'll fold the fix into the next scheduled registry update. If memory serves this tends to coincides with a "significant" addition.