From 3b43a5228e37e8cb79063474295a951c423497b3 Mon Sep 17 00:00:00 2001 From: Damien Plisson Date: Mon, 2 Nov 2009 11:20:31 +0000 Subject: Mac / COCOA : - revert tiff load/save to use standard libtiff (to ensure 100% colorimetry & alpha interpretation across platforms) - include patch #18720 to fix load of libtiff dynlib (if present on system) --- source/creator/creator.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source/creator') diff --git a/source/creator/creator.c b/source/creator/creator.c index 9749b724672..6f90c2ffe84 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -368,10 +368,8 @@ int main(int argc, char **argv) switch(argv[a][1]) { case 'a': /* -b was not given, play an animation */ -#if !(defined(__APPLE__) && defined(GHOST_COCOA)) /* exception here, see below, it probably needs happens after qt init? */ libtiff_init(); -#endif // XXX playanim(argc-1, argv+1); exit(0); @@ -540,10 +538,6 @@ int main(int argc, char **argv) #endif /* WITH_QUICKTIME */ -#if defined(__APPLE__) && defined(GHOST_COCOA) - /* libtiff is not used, Cocoa services are used instead for tiff I/O */ - G.have_libtiff = 1; -#else /* dynamically load libtiff, if available */ libtiff_init(); if (!G.have_libtiff && (G.f & G_DEBUG)) { @@ -551,7 +545,6 @@ int main(int argc, char **argv) printf("Try setting the BF_TIFF_LIB environment variable if you want this support.\n"); printf("Example: setenv BF_TIFF_LIB /usr/lib/libtiff.so\n"); } -#endif /* OK we are ready for it */ -- cgit v1.2.3