Remove useless updateImage actions

This commit is contained in:
pandamicro
2017-11-12 10:55:31 +08:00
parent b01176e4f0
commit 37d020bcf0
-4
View File
@@ -748,19 +748,15 @@ game.once(game.EVENT_RENDERER_INITED, function () {
}
if (options.minFilter !== undefined) {
this._minFilter = options.minFilter;
updateImage = true;
}
if (options.magFilter !== undefined) {
this._magFilter = options.magFilter;
updateImage = true;
}
if (options.wrapS !== undefined) {
this._wrapS = options.wrapS;
updateImage = true;
}
if (options.wrapT !== undefined) {
this._wrapT = options.wrapT;
updateImage = true;
}
if (options.format !== undefined) {
this._format = options.format;