Revision: 28723
http://sourceforge.net/p/bibdesk/svn/28723
Author: hofman
Date: 2024-02-10 17:27:00 +0000 (Sat, 10 Feb 2024)
Log Message:
-----------
let initializer calculate row bytes
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCGImageUtilities.mm
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCGImageUtilities.mm
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCGImageUtilities.mm
2024-02-10 16:53:20 UTC (rev 28722)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVCGImageUtilities.mm
2024-02-10 17:27:00 UTC (rev 28723)
@@ -800,8 +800,7 @@
*/
vImage_Error ret = kvImageNoError;
- size_t destRowBytes = FVPaddedRowBytesForWidth(4, desiredSize.width);
- FVImageBuffer *interleavedImageBuffer = [[FVImageBuffer alloc]
initWithWidth:desiredSize.width height:desiredSize.height
rowBytes:destRowBytes];
+ FVImageBuffer *interleavedImageBuffer = [[FVImageBuffer alloc]
initWithWidth:desiredSize.width height:desiredSize.height bytesPerSample:4];
if (nil == interleavedImageBuffer)
ret = kvImageMemoryAllocationError;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit