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:
parent
0ec60a3881
commit
a104d61504
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user