Skip to content

Commit 99120ba

Browse files
committed
fix: Delete test code.
1 parent cdf6020 commit 99120ba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ScreenRecorder/DirectX/Texture/BitmapTexture.cs

-2
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,6 @@ public unsafe void SetMonochromeTexture(IntPtr cursorDataPointer, int width, int
260260

261261
public void SetTexture(IntPtr srcScan0, int srcStride, int srcHeight)
262262
{
263-
byte[] test = new byte[srcStride * srcHeight];
264-
Marshal.Copy(srcScan0, test, 0, test.Length);
265263
if (srcScan0 != IntPtr.Zero)
266264
{
267265
using (Surface surface = bitmapTexture.QueryInterface<Surface>())

0 commit comments

Comments
 (0)