tweaked some groovy color effects, updated screeny. I think I might have added fog in this one too?

This commit is contained in:
MitchellHansen
2016-11-29 23:44:03 -08:00
parent 259f6a8488
commit c98adefa3a
5 changed files with 31 additions and 19 deletions

View File

@@ -113,7 +113,7 @@ void GL_Testing::create_buffers() {
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 3 * sizeof(GLfloat), (GLvoid*)0);
glEnableVertexAttribArray(0);
glBindBuffer(GL_ARRAY_BUFFER, 0); // Note that this is allowed, the call to glVertexAttribPointer registered VBO as the currently bound vertex buffer object so afterwards we can safely unbind
glBindBuffer(GL_ARRAY_BUFFER, 0);
glBindVertexArray(0);
}