mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
Remove useless updateImage actions
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user