Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[droid] fix gles waveform vis

Must have been busted by AE merge.
  • Loading branch information...
commit 35596247ae958898e0e7799882d2fadf2390fc36 1 parent 115e5a2
Cory Fields authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/visualizations/WaveForm/Main_gles.cpp
View
4 xbmc/visualizations/WaveForm/Main_gles.cpp
@@ -150,7 +150,7 @@ extern "C" void Render()
//ver[i][0] = g_viewport.X + ((i / 255.0f) * g_viewport.Width);
//ver[i][1] = g_viewport.Y + g_viewport.Height * 0.33f + (g_fWaveform[0][i] * g_viewport.Height * 0.15f);
ver[i][0] = -1.0f + ((i / 255.0f) * 2.0f);
- ver[i][1] = 0.5f + (g_fWaveform[0][i] * 0.000015f);
+ ver[i][1] = 0.5f + g_fWaveform[0][i];
ver[i][2] = 1.0f;
idx[i] = i;
}
@@ -166,7 +166,7 @@ extern "C" void Render()
//ver[i][0] = g_viewport.X + ((i / 255.0f) * g_viewport.Width);
//ver[i][1] = g_viewport.Y + g_viewport.Height * 0.66f + (g_fWaveform[1][i] * g_viewport.Height * 0.15f);
ver[i][0] = -1.0f + ((i / 255.0f) * 2.0f);
- ver[i][1] = -0.5f + (g_fWaveform[1][i] * 0.000015f);
+ ver[i][1] = -0.5f + g_fWaveform[1][i];
ver[i][2] = 1.0f;
idx[i] = i;
Please sign in to comment.
Something went wrong with that request. Please try again.