[AOT] Fix rounded corners black edges (#19615)

* [AOT] Fix rounded corners black edges

Enable antialiasing for render target

* Update expect.txt
This commit is contained in:
Stefan Markovic
2022-07-26 12:50:55 +02:00
committed by GitHub
parent 6ea274a4e4
commit c8458dc059
2 changed files with 3 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ Andreanof
anges
angularsen
ansicolor
antialias
ANull
AOC
aocfnapldcnfbofgmbbllojgocaelgdd

View File

@@ -59,6 +59,8 @@ bool FrameDrawer::CreateRenderTargets(const RECT& clientRect)
{
return false;
}
m_renderTarget->SetAntialiasMode(D2D1_ANTIALIAS_MODE_ALIASED);
m_renderTargetSizeHash = rectHash;
return true;