| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + # Fix some images rendering as black in recent macOS versions | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -72,7 +72,7 @@ void MCPlatformCreateColorTransform(const MCColorSpaceInfo& p_info, MCPlatformCo | |||
| 72 | 72 | CFDataRef t_data; | |
| 73 | 73 | t_data = nil; | |
| 74 | 74 | ||
| 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)); | ||
| 76 | 76 | ||
| 77 | 77 | if (t_success) | |
| 78 | 78 | t_success = nil != (t_colorspace = CGColorSpaceCreateWithICCProfile(t_data)); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments