diff --git a/cocos/scripting/js-bindings/script/jsb_loaders.js b/cocos/scripting/js-bindings/script/jsb_loaders.js index 1259e1a6c6..fdddd84167 100644 --- a/cocos/scripting/js-bindings/script/jsb_loaders.js +++ b/cocos/scripting/js-bindings/script/jsb_loaders.js @@ -75,7 +75,7 @@ cc._imgLoader = { }); } }; -cc.loader.register(["png", "jpg", "bmp","jpeg","gif"], cc._imgLoader); +cc.loader.register(["png", "jpg", "bmp","jpeg","gif", "webp"], cc._imgLoader); cc._plistLoader = { load : function(realUrl, url, res, cb){ diff --git a/web b/web index f33b9d95a5..3aac6645cf 160000 --- a/web +++ b/web @@ -1 +1 @@ -Subproject commit f33b9d95a5ecb4f7210f2c99e23f5fbba46fd119 +Subproject commit 3aac6645cf36f40077d642daf8876913361fc930