clear is here, draw is not
This commit is contained in:
@@ -85,7 +85,13 @@ void CVkRenderCommandList::SetMaterial( IMaterial *pMaterial )
|
||||
m_pCurrentMaterialBuffer->AddCommand(pSetShader);
|
||||
|
||||
CVkSetScissorsCommand *pScissorsCommand = CREATE_COMMAND(SetScissors);
|
||||
pScissorsCommand->uWidth = 1280;
|
||||
pScissorsCommand->uHeight = 720;
|
||||
m_pCurrentMaterialBuffer->AddCommand(pScissorsCommand);
|
||||
CVkSetViewportCommand *pViewportCommand = CREATE_COMMAND(SetViewport);
|
||||
pViewportCommand->fWidth = 1280;
|
||||
pViewportCommand->fHeight = 720;
|
||||
m_pCurrentMaterialBuffer->AddCommand(pViewportCommand);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user