From 7687b0d1c88a66a8fce4295a7ffa6ccc7bc8252c Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 28 Nov 2021 13:07:06 -0500 Subject: [PATCH] Fix compiler errors --- src/shapes/2d/square.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shapes/2d/square.cpp b/src/shapes/2d/square.cpp index a904e64..a1df328 100644 --- a/src/shapes/2d/square.cpp +++ b/src/shapes/2d/square.cpp @@ -41,10 +41,10 @@ namespace simpleengine::shapes_2d { // If theres a texture set, tell the fragment shader that and bind to the texture for drawing. if (texture.has_value()) { - shader.setUniformInt("texture_is_set", true, false); + shader.set_uniform_int("texture_is_set", true, false); texture.value().bind(); } else { - shader.setUniformInt("texture_is_set", false, false); + shader.set_uniform_int("texture_is_set", false, false); } vao.bind();