global update
This commit is contained in:
+1
-3
@@ -42,6 +42,7 @@ extern "C" void __cdecl SteamAPIDebug( ESteamNetworkingSocketsDebugOutputType nT
|
||||
V_printf("STEAM: %s\n", pszMsg);
|
||||
}
|
||||
#endif
|
||||
#include "time.h"
|
||||
|
||||
extern "C" void FunnyMain( int argc, char **argv )
|
||||
{
|
||||
@@ -124,7 +125,6 @@ extern "C" void FunnyMain( int argc, char **argv )
|
||||
Console()->Execute();
|
||||
double fPrevious = Plat_GetTime();
|
||||
for (;;) {
|
||||
|
||||
if (!stConstants.m_bIsDedicated)
|
||||
{
|
||||
if (pWindow->IsValid() == false)
|
||||
@@ -145,8 +145,6 @@ extern "C" void FunnyMain( int argc, char **argv )
|
||||
g_pHumanDeviceManager->Frame();
|
||||
g_pServerGame->m_pBridge->Frame(fDelta);
|
||||
|
||||
fCurrent = Plat_GetTime();
|
||||
|
||||
if (!stConstants.m_bIsDedicated)
|
||||
{
|
||||
|
||||
|
||||
@@ -318,10 +318,6 @@ void CKotUIBuffer::Draw( IImage *pImage )
|
||||
pList->SetLoadStoreModes(0, LOAD_MODE_LOAD, STORE_MODE_STORE);
|
||||
pList->SetRenderResolution(pImage->GetImageWidth(), pImage->GetImageHeight());
|
||||
|
||||
pList->Barrier(m_pDataBuffer, true, false);
|
||||
pList->Barrier(pScreenBuffer, true, false);
|
||||
pList->Barrier(m_pFont->GetAtlas(), true, false);
|
||||
|
||||
pList->SetMaterial(m_pMaterial);
|
||||
pList->SetVertexBuffer(0, s_pGlyphBuffer);
|
||||
pList->DrawPrimitives(6, 0, uRealGlyphCount, 0);
|
||||
|
||||
+1
-1
@@ -1041,7 +1041,7 @@ void COpenXRHeadset::CreateSwapchainForEye( XrViewConfigurationView *pConf, VkFo
|
||||
for ( int i = 0; i < imageCount; i++ )
|
||||
{
|
||||
pEye->m_pImages[i] = m_pManager->m_pRenderContext->CreateImageFromVkImage(
|
||||
images[i].image,
|
||||
(uint64_t)images[i].image,
|
||||
createInfo.width,
|
||||
createInfo.height,
|
||||
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,
|
||||
|
||||
Reference in New Issue
Block a user