mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-07 08:01:20 +00:00
GUI: re-enable chan osc anti-alias
This commit is contained in:
parent
70dbe92b51
commit
9a95ec2360
1 changed files with 3 additions and 5 deletions
|
@ -657,12 +657,10 @@ void FurnaceGUI::drawChanOsc() {
|
||||||
}
|
}
|
||||||
ImGui::PushClipRect(inRect.Min,inRect.Max,false);
|
ImGui::PushClipRect(inRect.Min,inRect.Max,false);
|
||||||
|
|
||||||
ImDrawListFlags prevFlags=dl->Flags;
|
//ImDrawListFlags prevFlags=dl->Flags;
|
||||||
//if (!settings.oscAntiAlias) {
|
//dl->Flags&=~(ImDrawListFlags_AntiAliasedLines|ImDrawListFlags_AntiAliasedLinesUseTex);
|
||||||
dl->Flags&=~(ImDrawListFlags_AntiAliasedLines|ImDrawListFlags_AntiAliasedLinesUseTex);
|
|
||||||
//}
|
|
||||||
dl->AddPolyline(waveform,precision,color,ImDrawFlags_None,dpiScale);
|
dl->AddPolyline(waveform,precision,color,ImDrawFlags_None,dpiScale);
|
||||||
dl->Flags=prevFlags;
|
//dl->Flags=prevFlags;
|
||||||
|
|
||||||
if (!chanOscTextFormat.empty()) {
|
if (!chanOscTextFormat.empty()) {
|
||||||
String text;
|
String text;
|
||||||
|
|
Loading…
Reference in a new issue