From df0034ac1faed9c98290367a52066d82ea1540d8 Mon Sep 17 00:00:00 2001 From: Ian Curtis Date: Sat, 18 Nov 2023 22:56:15 +0000 Subject: [PATCH] fix minor error --- Src/Graphics/New3D/R3DFrameBuffers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Graphics/New3D/R3DFrameBuffers.cpp b/Src/Graphics/New3D/R3DFrameBuffers.cpp index 7461b01..9b0aff0 100644 --- a/Src/Graphics/New3D/R3DFrameBuffers.cpp +++ b/Src/Graphics/New3D/R3DFrameBuffers.cpp @@ -323,7 +323,7 @@ void R3DFrameBuffers::Draw() void R3DFrameBuffers::DrawBaseLayer() { m_shaderBase.EnableShader(); - glUniform1i(m_shaderTrans.uniformLoc[0], 0); + glUniform1i(m_shaderBase.uniformLoc[0], 0); glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);