GUI: new osc renderer, part 22
or just use highp to-do: rewrite using fixed point math?
This commit is contained in:
parent
cfee9b3810
commit
d046713be4
5 changed files with 11 additions and 6 deletions
|
|
@ -307,7 +307,7 @@ void FurnaceGUI::drawOsc() {
|
|||
} else {
|
||||
for (int i=0; i<oscWidth-24; i++) {
|
||||
float x=(float)i/(float)(oscWidth-24);
|
||||
float y=oscValuesAverage[i+12]*oscZoom;
|
||||
float y=oscValuesAverage[i+12];
|
||||
if (!settings.oscEscapesBoundary) {
|
||||
if (y<-0.5f) y=-0.5f;
|
||||
if (y>0.5f) y=0.5f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue