From 3ee14a3c2d7810448df1c86c900cd9fb66724471 Mon Sep 17 00:00:00 2001 From: Nicholas Blaskey Date: Mon, 5 Oct 2020 15:44:30 -0400 Subject: [PATCH] Removed a duplicate line of setting a uniform --- src/5.advanced_lighting/7.bloom/bloom.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/5.advanced_lighting/7.bloom/bloom.cpp b/src/5.advanced_lighting/7.bloom/bloom.cpp index 82b3e03..24d7e47 100644 --- a/src/5.advanced_lighting/7.bloom/bloom.cpp +++ b/src/5.advanced_lighting/7.bloom/bloom.cpp @@ -214,7 +214,6 @@ int main() model = glm::translate(model, glm::vec3(0.0f, -1.0f, 0.0)); model = glm::scale(model, glm::vec3(12.5f, 0.5f, 12.5f)); shader.setMat4("model", model); - shader.setMat4("model", model); renderCube(); // then create multiple cubes as the scenery glBindTexture(GL_TEXTURE_2D, containerTexture);