Calling glGetIntegerv with GL_MAX_VARYING_COMPONENTS does not return value (GLFW3 and GLEW)
When calling glGetIntegerv(GL_MAX_VARYING_COMPONENTS, &i);
or glGetIntegerv(GL_MAX_VARYING_FLOATS, &i);
with GLint i;
, nothing is written to i.
Trouble setting up OpenGL on Windows (in VS Code)
I am following the tutorial text to setup OpenGL on Windows 11.
This is the main script(HelloWorld.cpp):
I’m using C++, GLFW and GLEW to make a 3D engine, but my triangle keeps outputting as black, and I have no idea why
There aren’t any errors in the console, I followed the tutorial I was using perfectly (Victor Gordian), and I cant seem to find the problem with it.