I wasn’t able to use GLSL shaders for now because of a strange problem with my C++ code:
int status = 1337; glGetShaderiv(shaderref, GL_COMPILE_STATUS, &status); std::cout << status << std::endl; std::cout << glGetError();
The call of glGetShaderiv isn’t changing my variable int status, it’s still 1337.
However glGetError() is returning 0.
The API says here that this behaviour only appears when an error is generated -> .