On Tuesday, 23 May 2017 at 00:14:43 UTC, Mike Parker wrote:
On Monday, 22 May 2017 at 18:44:10 UTC, Andrew Edwards wrote:

There isn't any Windows specific section. Every function pointer in the library is decorated in one of the following two forms

    void (APIENTRY *NAME)(PARAMS)

or

    void (APIENTRYP NAME)(PARAMS)

Sorry, I worded that poorly. APIENTRY is defined somewhere in the Win32 headers. IIRC, it's an alias for WINAPI, which is also defined in the Win32 headers to declare the standard call calling convention (which is __stdcall on the MS compiler and something else, I think, on GCC). OpenGL includes windows.h on Windows, so the Win32-specific stuff is there. The functions aren't in any Win32-specific sections.


[....]

Much appreciated Mike and everyone else. I was able to make a good deal of progress today because of your input.

Andrew

Reply via email to