Skip to content

Commit

Permalink
Colour Bleeding and Blending
Browse files Browse the repository at this point in the history
  • Loading branch information
SeriousSamV committed Mar 2, 2017
1 parent 4827829 commit e895e38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 17/bleeding_app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ void BleedingApp::render()

activeShader->use();
// Cubes
glBindVertexArray(cubeVAO);
glBindTexture(GL_TEXTURE_2D, cubeTexture);
glBindVertexArray(cubeVAO);
// We omit the glActiveTexture part since
// TEXTURE0 is already the default active texture unit.
// (a single sampler used in fragment is set to 0 as well by default)
Expand Down

0 comments on commit e895e38

Please sign in to comment.