Typo in the Radeon SDK wglati.h file

NitroGL

Active member
For the WGL_ARB_render_texture extension, the line:
typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC)(HPBUFFERARB hPbuffer, int iBuffer, const int *piAttribList);
Should be changed to:
typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC)(HPBUFFERARB hPbuffer, int iBuffer);

Removing the "const int *piAttribList", because it isn't part of the spec and shouldn't be there. It causes a debug error with (in win2k) i386\chkesp.c on line 42.
 
Last edited:
Re: Typo in the Radeon SDK wglati.h file

NitroGL said:
For the WGL_ARB_render_texture extension, the line:
typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC)(HPBUFFERARB hPbuffer, int iBuffer, const int *piAttribList);
Should be changed to:
typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC)(HPBUFFERARB hPbuffer, int iBuffer);

Removing the "const int *piAttribList", because it isn't part of the spec and shouldn't be there. It causes a debug error with (in win2k) i386\chkesp.c on line 42.

This is correct, I guess the header files we provide on the our developer site are a bit old. You could edit the header file yourself and that should fix the problem. I've sent an email to someone that can change the files on the website and they should be updated ASAP. Thanks for the heads up! --Chris
 
Back
Top