improved font rendering
This commit is contained in:
@@ -932,6 +932,7 @@ void CVkRenderContext::Frame( float fDeltaTime )
|
||||
|
||||
double a = Plat_GetTime();
|
||||
i = 0;
|
||||
CVkEmptyCommand *pEmptyCommand = CREATE_COMMAND(m_pCommandBufferManager, Empty);
|
||||
for ( auto &s: m_renderWindows )
|
||||
{
|
||||
|
||||
@@ -952,11 +953,14 @@ void CVkRenderContext::Frame( float fDeltaTime )
|
||||
pBlitCommand->iDstMax[0] = s.m_pWindow->GetRenderWidth();
|
||||
pBlitCommand->iDstMax[1] = s.m_pWindow->GetRenderHeight();
|
||||
pBlitCommand->iDstMax[2] = 1;
|
||||
|
||||
pEmptyCommand->AddDependency((IRenderingObject*)s.m_images[uSwapchainImageIndexes[i]], DEPENDENCY_MODE_IMAGE_PRESENT);
|
||||
}
|
||||
if (pBlitCommand != NULL)
|
||||
s_pPresentCommandBuffer->AddCommand(pBlitCommand);
|
||||
i++;
|
||||
}
|
||||
s_pPresentCommandBuffer->AddCommand(pEmptyCommand);
|
||||
|
||||
s_pPresentCommandBuffer->Render();
|
||||
s_pPresentCommandBuffer->Submit(0);
|
||||
|
||||
Reference in New Issue
Block a user