We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f5b672 commit 17cb0a0Copy full SHA for 17cb0a0
Source/DXControl/DXControl.cs
@@ -551,7 +551,7 @@ public void CreateDevice()
551
{
552
hwnd = Handle,
553
pixelSize = new D2D_SIZE_U((uint)Width, (uint)Height),
554
- presentOptions = D2D1_PRESENT_OPTIONS.D2D1_PRESENT_OPTIONS_NONE,
+ presentOptions = D2D1_PRESENT_OPTIONS.D2D1_PRESENT_OPTIONS_IMMEDIATELY,
555
};
556
557
_renderTarget = _d2DFactory.CreateHwndRenderTarget(hwndRenderTargetProps, renderTargetProps);
0 commit comments