mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix dedicated compile errors
This commit is contained in:
parent
abe6d10830
commit
35bec64a5f
@ -15,7 +15,9 @@
|
||||
#include "geforce/reflex.h"
|
||||
#include "vengineclient_impl.h"
|
||||
#include "cdll_engine_int.h"
|
||||
#ifndef DEDICATED
|
||||
#include "materialsystem/cmaterialsystem.h"
|
||||
#endif // !DEDICATED
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef DEDICATED
|
||||
|
@ -47,7 +47,9 @@ Services environments)
|
||||
void Host_CountRealTimePackets()
|
||||
{
|
||||
v_Host_CountRealTimePackets();
|
||||
#ifndef DEDICATED
|
||||
GFX_SetLatencyMarker(D3D11Device(), SIMULATION_START, MaterialSystem()->GetCurrentFrameCount());
|
||||
#endif // !DEDICATED
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -54,10 +54,12 @@ InitReturnVal_t CMaterialSystem::Init(CMaterialSystem* thisptr)
|
||||
//-----------------------------------------------------------------------------
|
||||
int CMaterialSystem::Shutdown(CMaterialSystem* thisptr)
|
||||
{
|
||||
#ifndef MATERIALSYSTEM_NODX
|
||||
if (GFX_IsLowLatencySDKEnabled())
|
||||
{
|
||||
PCLSTATS_SHUTDOWN();
|
||||
}
|
||||
#endif
|
||||
|
||||
return CMaterialSystem__Shutdown(thisptr);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user