Skip to content

Commit e58cd39

Browse files
committed
Fix recently introduced log spam
1 parent 7a0b8f0 commit e58cd39

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

Client/core/DXHook/CProxyDirect3DDevice9.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,8 +610,6 @@ VOID CProxyDirect3DDevice9::SetGammaRamp(UINT iSwapChain, DWORD Flags, CONST D3D
610610

611611
// Set the adjusted gamma ramp
612612
m_pDevice->SetGammaRamp(iSwapChain, Flags, &adjustedRamp);
613-
614-
WriteDebugEvent("Applied gamma adjustment for borderless windowed mode");
615613
}
616614
else
617615
{

Client/core/Graphics/CGraphics.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2005,7 +2005,6 @@ void CGraphics::SaveGTARenderStates()
20052005
// Prevent GPU driver hang by checking device state before creating state blocks
20062006
if (m_pDevice->TestCooperativeLevel() != D3D_OK)
20072007
{
2008-
WriteDebugEvent("CGraphics::SaveGTARenderStates - Device not cooperative, skipping state block creation");
20092008
return;
20102009
}
20112010

@@ -2041,7 +2040,6 @@ void CGraphics::RestoreGTARenderStates()
20412040
// Check device state before attempting to restore
20422041
if (m_pDevice->TestCooperativeLevel() != D3D_OK)
20432042
{
2044-
WriteDebugEvent("CGraphics::RestoreGTARenderStates - Device not cooperative, skipping state restoration");
20452043
SAFE_RELEASE(m_pSavedStateBlock);
20462044
return;
20472045
}

0 commit comments

Comments
 (0)