[AlwaysOnTop]Enable anti-aliasing for the border (#32555)

This commit is contained in:
Ewan Green
2024-04-23 05:47:25 -07:00
committed by GitHub
parent e2de521c1e
commit 5d5e56ef55

View File

@@ -62,7 +62,7 @@ bool FrameDrawer::CreateRenderTargets(const RECT& clientRect)
return false;
}
m_renderTarget->SetAntialiasMode(D2D1_ANTIALIAS_MODE_ALIASED);
m_renderTarget->SetAntialiasMode(D2D1_ANTIALIAS_MODE_PER_PRIMITIVE);
m_renderTargetSizeHash = rectHash;
return true;