g-truc/ogl-samples

gl-420-debug-output

elect86 opened this issue · 2 comments

I guess this:

glClearBufferfv(GL_UNIFORM_BUFFER, 0, &glm::vec4(0.0f, 0.5f, 1.0f, 1.0f)[0]);

should be:

glClearBufferfv(GL_COLOR, 0, &glm::vec4(0.0f, 0.5f, 1.0f, 1.0f)[0]);

It's actually on purpose. This test is a test that is supposed to fail on that line.

Ah sorry, I didn't get that