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.
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: