Loading OpenGL with wgl

537 views Asked by At

I have been having issues with the function "gladLoadGLLoader" in which I have been passing (GLADloadproc)wglGetProcAddress. I learned that this is because wglGetProcAddress only does functions from OpenGL 1.1+ and GetProcAddress does functions from OpenGL 1.0 and 1.1. How would one go about loading everything with Glad. And, please, do not suggest something like glfw because I like to manage windowing and input myself. Everything works from creating the context up until loading Glad. And, yes, I have bound the context.

0

There are 0 answers