We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed4cae3 commit b51ff05Copy full SHA for b51ff05
D3D11/D3D11Text3D/main.cpp
@@ -192,6 +192,7 @@ void CallOnce() noexcept {
192
const auto ctx = g_data.d2d_context;
193
ctx->BeginDraw();
194
ctx->Clear(D2D1::ColorF(0.f, 0.f, 0.f, 0.f));
195
+ ctx->SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE);
196
ctx->DrawTextLayout({}, g_data.dw_layout, g_data.d2d_brush);
197
const auto hr = ctx->EndDraw();
198
}
0 commit comments