mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-06 03:22:39 +08:00
Remove some format rule (#10919)
* remove some rules * format all codes with new format rule
This commit is contained in:
@@ -81,14 +81,14 @@ void TextureValidator::doInit(const TextureInfo &info) {
|
||||
|
||||
void TextureValidator::doInit(const TextureViewInfo &info) {
|
||||
CC_ASSERT(!isInited());
|
||||
_inited = true;
|
||||
_inited = true;
|
||||
_isTextureView = true;
|
||||
CC_ASSERT(info.texture && static_cast<TextureValidator *>(info.texture)->isInited());
|
||||
|
||||
/////////// execute ///////////
|
||||
|
||||
TextureViewInfo actorInfo = info;
|
||||
actorInfo.texture = static_cast<TextureValidator *>(info.texture)->getActor();
|
||||
actorInfo.texture = static_cast<TextureValidator *>(info.texture)->getActor();
|
||||
|
||||
_actor->initialize(actorInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user