Skip to content

Commit

Permalink
Merge commit '4be17afb4c658d64cba481fd953100932cdec93f'
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Aug 23, 2024
2 parents 1e49b83 + 4be17af commit 7f53d6c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Workbench/HuremluhuhaChilejelawlai/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Windows.ApplicationModel.Core;
using Windows.Graphics.DirectX;
using Windows.Graphics.Display;
using Windows.UI.Core;
using Microsoft.Graphics.Canvas;
Expand Down Expand Up @@ -74,6 +75,12 @@ protected override void OnLaunched(LaunchActivatedEventArgs args)
};
}
var coreWindow = window.CoreWindow;
var sharedDevice = CanvasDevice.GetSharedDevice();
var canvasSwapChain = new CanvasSwapChain(sharedDevice,100,100,96);
var swapChain = CanvasSwapChain.CreateForCoreWindow(sharedDevice, coreWindow, 96,100,96,DirectXPixelFormat.R8G8B8A8Int,2);
};

window.Activate();
Expand Down

0 comments on commit 7f53d6c

Please sign in to comment.