Relative Content

Tag Archive for openglc++17glfw

GL_CURRENT_PROGRAM is always 0

I’m writing a small OpenGL program, where I’ve initialised an glfw context and a window is visible. However the shader program that I’ve written (and verified compilation and linkage with glGetShaderiv and glGetProgramiv with the appropriate arguments) does not seem to change the currently used program when I set it: