GUI: new osc renderer, part 22

or just use highp

to-do: rewrite using fixed point math?
This commit is contained in:
tildearrow 2024-02-19 17:26:58 -05:00
parent cfee9b3810
commit d046713be4
5 changed files with 11 additions and 6 deletions

View file

@ -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;