Category: OpenGL

How to get OpenGL function pointer for different platforms.

Windows You can do it using PROC WINAPI wglGetProcAddress( LPCSTR lpszProc); The name of the OpenGL  1.1 (and better) or windows specific WGL function  you want retrieve pointer should be passed as parameter. Note, the name is case-sensitive.   This fun… more »