From c6c0641a11363f85e6427fad2e98c84a1a41773e Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Tue, 5 Jul 2016 15:44:41 +1000 Subject: [PATCH] Add TODO: for unmanaged pixel copying [skip ci] Former-commit-id: 45772bc399b25280ea79cd5afc081945b45808a8 Former-commit-id: f14063e037c5cc3c7bd2d1e9c0abf6d7413034dd Former-commit-id: 7f4addaec89fea153275167ac093716192995108 --- src/ImageProcessorCore/PixelAccessor.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ImageProcessorCore/PixelAccessor.cs b/src/ImageProcessorCore/PixelAccessor.cs index 47a1797310..3f40f4b3c4 100644 --- a/src/ImageProcessorCore/PixelAccessor.cs +++ b/src/ImageProcessorCore/PixelAccessor.cs @@ -63,6 +63,9 @@ namespace ImageProcessorCore { fixed (float* pbuffer = image.Pixels) { + // TODO: This isn't actually copying. + // We need to allocate and copy the pixels into unmanaged memory. + // Will need to research how to do this. this.pixelsBase = pbuffer; } }