GUI: new osc renderer, part 3

now we have something
This commit is contained in:
tildearrow 2024-02-10 14:23:33 -05:00
parent 27b1a410eb
commit e13444230e
2 changed files with 49 additions and 20 deletions

View file

@ -319,6 +319,7 @@ void FurnaceGUI::drawOsc() {
_do.color=isClipping?uiColors[GUI_COLOR_OSC_WAVE_PEAK]:uiColors[GUI_COLOR_OSC_WAVE];
dl->AddCallback(_drawOsc,&_do);
dl->AddCallback(ImDrawCallback_ResetRenderState,NULL);
} else {
for (int ch=0; ch<e->getAudioDescGot().outChans; ch++) {
for (int i=0; i<oscWidth-24; i++) {