It seems that all the call to OpenGL are caught by the display driver so that I can still use microsoft’s opengl32.dll?!
But what about the gl-function that not in opengl32.dll(eg. glTexImage3D), if I call such function in my code and link opengl32.lib, there will be a link error(can’t find the function).
what can I do about that?
Hi, I’m a beginner, would you so kind to explain some more?
use wglGetProcAddress to retrieve a function pointer to the 1.2 and 1.3 functions that are not in the 1.1 Microsoft implementation. Check that the GL_VERSION really is 1.2 (or 1.3) before you do.
If you want a good reference on the syntax of function pointers, I’d suggest “the C programming language” by Kernighan and Ritchie (make sure to get a later copy that supports ANSI standard syntax). If you want a good reference on wglGetProcAddress, I suggest msdn.microsoft.com and its search field.