From 153c5100090f982b9dad76b71ed8d52207f41b8e Mon Sep 17 00:00:00 2001 From: Ian Curtis Date: Sat, 26 Nov 2022 12:58:07 +0000 Subject: [PATCH] Fix uniform location. --- 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 4f11ffd..347ef09 100644 --- a/Src/Graphics/New3D/R3DFrameBuffers.cpp +++ b/Src/Graphics/New3D/R3DFrameBuffers.cpp @@ -351,7 +351,7 @@ void R3DFrameBuffers::AllocShaderWipe() m_shaderWipe.LoadShaders(vertexShader, fragmentShader); - m_shaderWipe.uniformLoc[0] = m_shaderTrans.GetUniformLocation("texColor"); + m_shaderWipe.uniformLoc[0] = m_shaderWipe.GetUniformLocation("texColor"); } void R3DFrameBuffers::Draw()