mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
Synchronize parameter changes of commit comp. (#7604)
This commit is contained in:
@@ -200,6 +200,6 @@ export class MotionStreak extends UIRenderable {
|
||||
}
|
||||
|
||||
public _render (render: UI) {
|
||||
render.commitComp(this, this._texture!.getGFXTexture(), this._assembler, this._texture!.getGFXSampler());
|
||||
render.commitComp(this, this._texture!, this._assembler);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1217,7 +1217,7 @@ bv
|
||||
}
|
||||
|
||||
protected _render (render: UI) {
|
||||
render.commitComp(this, this._spriteFrame!.getGFXTexture(), this._assembler!, this._spriteFrame!.texture.getGFXSampler());
|
||||
render.commitComp(this, this._spriteFrame!, this._assembler!);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user