Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 42a1624

Browse files
Merge pull request #7598 from livecodepanos/merge-release-9.6.3_26.07.2021
Merge release 9.6.3 26.07.2021
2 parents f90395a + 6a44bb8 commit 42a1624

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/notes/bugfix-23038.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Fix some images rendering as black in recent macOS versions

engine/src/mac-color.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void MCPlatformCreateColorTransform(const MCColorSpaceInfo& p_info, MCPlatformCo
7272
CFDataRef t_data;
7373
t_data = nil;
7474

75-
t_success = nil != (t_data = CFDataCreateWithBytesNoCopy(kCFAllocatorDefault, (UInt8*)p_info.embedded.data, p_info.embedded.data_size, kCFAllocatorNull));
75+
t_success = nil != (t_data = CFDataCreate(kCFAllocatorDefault, (UInt8*)p_info.embedded.data, p_info.embedded.data_size));
7676

7777
if (t_success)
7878
t_success = nil != (t_colorspace = CGColorSpaceCreateWithICCProfile(t_data));

0 commit comments

Comments
 (0)