Moving PNG/JPEG code from 'graphics' to 'format', beginning work on audio format code

This commit is contained in:
Joshua Granick
2014-07-28 08:29:11 -07:00
parent f0a5f254ef
commit d8a0eed472
12 changed files with 353 additions and 15 deletions

View File

@@ -20,7 +20,7 @@ namespace lime {
#ifdef HX_MACOS
FILE *result = ::fopen (filename, "rb");
if (!result) {
CFStringRef str = CFStringCreateWithCString (NULL, inName, kCFStringEncodingUTF8);
CFStringRef str = CFStringCreateWithCString (NULL, filename, kCFStringEncodingUTF8);
CFURLRef path = CFBundleCopyResourceURL (CFBundleGetMainBundle (), str, NULL, NULL);
CFRelease (str);
if (path) {