mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 10:32:39 +08:00
Remove some format rule (#10919)
* remove some rules * format all codes with new format rule
This commit is contained in:
@@ -72,8 +72,8 @@ void QueueAgent::doDestroy() {
|
||||
void QueueAgent::submit(CommandBuffer *const *cmdBuffs, uint32_t count) {
|
||||
if (!count) return;
|
||||
|
||||
MessageQueue *msgQ = DeviceAgent::getInstance()->getMessageQueue();
|
||||
auto ** actorCmdBuffs = msgQ->allocate<CommandBuffer *>(count);
|
||||
MessageQueue *msgQ = DeviceAgent::getInstance()->getMessageQueue();
|
||||
auto **actorCmdBuffs = msgQ->allocate<CommandBuffer *>(count);
|
||||
for (uint32_t i = 0U; i < count; ++i) {
|
||||
actorCmdBuffs[i] = static_cast<CommandBufferAgent *>(cmdBuffs[i])->getActor();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user