Fix JNI JPEG and PNG file loading
This commit is contained in:
@@ -211,7 +211,7 @@ namespace lime {
|
||||
|
||||
file = lime::fopen (resource->path, "rb");
|
||||
|
||||
if (file->getFile ()) {
|
||||
if (file->isFile ()) {
|
||||
|
||||
jpeg_stdio_src (&cinfo, file->getFile ());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user