wglext.h bug

#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

From spec:

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

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

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.

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

Up… Bug not fixed…
!?!?

I imagine they’ll fold the fix into the next scheduled registry update. If memory serves this tends to coincides with a “significant” addition.