From f33dcaa1ab019d42bfd966cdd29ddd6bc097fd03 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Fri, 29 Jul 2016 18:45:20 -1000 Subject: [PATCH] Minor coordinate fix --- Runtime/Graphics/Shaders/CSpaceWarpFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Graphics/Shaders/CSpaceWarpFilter.cpp b/Runtime/Graphics/Shaders/CSpaceWarpFilter.cpp index e777452e8..2cec19c27 100644 --- a/Runtime/Graphics/Shaders/CSpaceWarpFilter.cpp +++ b/Runtime/Graphics/Shaders/CSpaceWarpFilter.cpp @@ -126,7 +126,7 @@ void CSpaceWarpFilter::draw(const zeus::CVector2f& pt) 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_uniBuf->load(&m_uniform, sizeof(m_uniform));