1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Fix cast to float in ShaderCombiner::_locate_attributes().

This commit is contained in:
Sergey Lipskiy 2014-11-10 11:47:58 +06:00
parent 0ec60a3881
commit a104d61504

View File

@ -626,8 +626,8 @@ void ShaderCombiner::update() {
_setIUniform(m_uniforms.uTex0, 0, true);
_setIUniform(m_uniforms.uTex1, 1, true);
_setFUniform(m_uniforms.uScreenWidth, video().getWidth(), true);
_setFUniform(m_uniforms.uScreenHeight, video().getHeight(), true);
_setFUniform(m_uniforms.uScreenWidth, (float)video().getWidth(), true);
_setFUniform(m_uniforms.uScreenHeight, (float)video().getHeight(), true);
updateRenderState(true);
updateColors(true);