90 posts
Edited by C_Worm on
Hey!

im wondering if i can do this without using glfwGetProcAddress? :

Can i initialize GLAD in some other way?

 1 2 3 4 5 if (!gladLoadGLLoader((GLADloadproc)glfwGetProcAddress)) { std::cout << "Failed to initialize GLAD" << std::endl; return -1; } 

 1 2 3 4 5 if (!gladLoadGLLoader((GLADloadproc)wglGetProcAddress)) { std::cout << "Failed to initialize GLAD" << std::endl; return -1; }