diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureSession.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureSession.cs index af8f54a5..e5e5dccc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureSession.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureSession.cs @@ -216,6 +216,7 @@ internal sealed class GameScreenCaptureSession : IDisposable case DXGI_FORMAT.DXGI_FORMAT_R16G16B16A16_FLOAT: { + // TODO: replace with HLSL implementation. int rowLength = (int)textureWidth * 8; IMemoryOwner buffer = GameScreenCaptureMemoryPool.Shared.Rent((int)(textureHeight * textureWidth * 4)); Span pixelBuffer = MemoryMarshal.Cast(buffer.Memory.Span);