Skip to content

Commit

Permalink
fixed: Superfluous float definition
Browse files Browse the repository at this point in the history
  • Loading branch information
arnova committed Oct 15, 2012
1 parent c2818a5 commit 12524a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/visualizations/Milkdrop/vis_milkdrop/milkdropfs.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ void CPlugin::WarpedBlitFromVS0ToVS1()
float fWarpScale = m_pState->m_fWarpScale.eval(GetTime()); float fWarpScale = m_pState->m_fWarpScale.eval(GetTime());
float fWarpScaleInv = 1.0f; float fWarpScaleInv = 1.0f;
if(fWarpScale != 0.0f) if(fWarpScale != 0.0f)
float fWarpScaleInv = 1.0f / fWarpScale; fWarpScaleInv = 1.0f / fWarpScale;
float f[4]; float f[4];
f[0] = 11.68f + 4.0f*cosf(fWarpTime*1.413f + 10); f[0] = 11.68f + 4.0f*cosf(fWarpTime*1.413f + 10);
f[1] = 8.77f + 3.0f*cosf(fWarpTime*1.113f + 7); f[1] = 8.77f + 3.0f*cosf(fWarpTime*1.113f + 7);
Expand Down

0 comments on commit 12524a8

Please sign in to comment.