Skip to content

Commit 6a44bb8

Browse files
committed
Merge release-9.6.3 26.07.2021
2 parents f90395a + 5fef78a commit 6a44bb8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

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)