Fix JNI JPEG and PNG file loading

This commit is contained in:
Joshua Granick
2015-02-04 14:07:21 -08:00
parent d6f6e92663
commit 8f9591365a
5 changed files with 17 additions and 2 deletions

View File

@@ -211,7 +211,7 @@ namespace lime {
file = lime::fopen (resource->path, "rb");
if (file->getFile ()) {
if (file->isFile ()) {
jpeg_stdio_src (&cinfo, file->getFile ());