We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 882f5d8 commit f611561Copy full SHA for f611561
samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Backend/CoreWindowApplication.cs
@@ -85,10 +85,7 @@ public void OnUpdate(TimeSpan time)
85
if (this.isResizePending)
86
{
87
// Resize the swapchain if needed (the size is calculated automatically)
88
- this.canvasSwapChain!.ResizeBuffers(
89
- newWidth: 0,
90
- newHeight: 0,
91
- newDpi: DisplayInformation.GetForCurrentView().LogicalDpi);
+ this.canvasSwapChain!.ResizeBuffers(0, 0);
92
93
BitmapSize bitmapSize = this.canvasSwapChain!.SizeInPixels;
94
0 commit comments