Accept .jpeg extension

This commit is contained in:
luboslenco
2019-09-14 22:31:21 +02:00
parent 6212594b22
commit a6a4a568de
+1
View File
@@ -40,6 +40,7 @@ class Path {
public static function checkTextureFormat(path:String):Bool {
var p = path.toLowerCase();
return p.endsWith(".jpg") ||
p.endsWith(".jpeg") ||
p.endsWith(".png") ||
p.endsWith(".tga") ||
p.endsWith(".bmp") ||