I don't know why glUseProgram(0) prevents rendering operations here
1 2 3 4 5 6 7 8 9 10
while (!done)
{
// ...
glUseProgram(myProgram);
renderer->DrawEntities();
glUseProgram(0); // I only see my entities when I remove this line, why?
// ...
}
Everything works fine until I switch the shader program, what could the problem be
I somehow managed to fix the error by rewriting the entire shader class :), thanks for your quick reply though, your checkGLError helped me solve another problem LOL so thanks again