Fix uniform location.

This commit is contained in:
Ian Curtis 2022-11-26 12:58:07 +00:00
parent 7513cc769a
commit 153c510009

View file

@ -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()