2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-15 12:31:21 +00:00

Minor coordinate fix

This commit is contained in:
Jack Andersen 2016-07-29 18:45:20 -10:00
parent 8460ed713b
commit f33dcaa1ab

View File

@ -126,7 +126,7 @@ void CSpaceWarpFilter::draw(const zeus::CVector2f& pt)
CGraphics::ResolveSpareTexture(clipRect); CGraphics::ResolveSpareTexture(clipRect);
m_uniform.m_strength.x = m_uniform.m_matrix[1][1] * m_strength * 0.5f; m_uniform.m_strength.x = m_uniform.m_matrix[0][0] * m_strength * 0.5f;
m_uniform.m_strength.y = m_uniform.m_matrix[1][1] * m_strength * 0.5f; m_uniform.m_strength.y = m_uniform.m_matrix[1][1] * m_strength * 0.5f;
m_uniBuf->load(&m_uniform, sizeof(m_uniform)); m_uniBuf->load(&m_uniform, sizeof(m_uniform));