Fix crash when resizing the window
このコミットが含まれているのは:
1 親
4dd76fda4e
コミット
b726b2306e
1ファイル変更
+1
-4
@@ -85,10 +85,7 @@ internal sealed class CoreWindowApplication
|
||||
if (this.isResizePending)
|
||||
{
|
||||
// Resize the swapchain if needed (the size is calculated automatically)
|
||||
this.canvasSwapChain!.ResizeBuffers(
|
||||
newWidth: 0,
|
||||
newHeight: 0,
|
||||
newDpi: DisplayInformation.GetForCurrentView().LogicalDpi);
|
||||
this.canvasSwapChain!.ResizeBuffers(0, 0);
|
||||
|
||||
BitmapSize bitmapSize = this.canvasSwapChain!.SizeInPixels;
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする