mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@122185 d073be05-634f-4543-b044-5fe20cf6d1d6
21 lines
545 B
Diff
21 lines
545 B
Diff
--- IconFamily.m.orig 2005-06-13 00:31:03.000000000 +1000
|
|
+++ IconFamily.m 2014-07-17 12:20:12.000000000 +1000
|
|
@@ -1088,6 +1088,7 @@
|
|
|
|
if (((samplesPerPixel == 3) && (bitsPerPixel == 24)) || ((samplesPerPixel == 4) && (bitsPerPixel == 32)))
|
|
{
|
|
+#if 0
|
|
CGDirectPaletteRef cgPal;
|
|
CGDeviceColor cgCol;
|
|
|
|
@@ -1130,6 +1131,9 @@
|
|
}
|
|
|
|
CGPaletteRelease(cgPal);
|
|
+#endif
|
|
+ NSLog(@"get8BitDataFromBitmapImageRep:requiredPixelSize: returning NULL due to lack of CGDirectPaletteRef in this OS version");
|
|
+ return NULL;
|
|
}
|
|
else
|
|
{
|