Skip to content

Commit 1dc81c6

Browse files
Synchronize changes from 1.6 branch [ci skip]
9ed7423 Addendum to 9a6bac7
2 parents 978f3c9 + 9ed7423 commit 1dc81c6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Client/core/Graphics/CRenderItemManager.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,9 @@ HRESULT CRenderItemManager::GetDeviceCooperativeLevel(const char* szContext, boo
6464
if (hrCoopLevel == D3D_OK)
6565
return hrCoopLevel;
6666

67-
if (bLogLost)
67+
if (bLogLost) // Expand (without log spam) later
6868
{
69-
const char* szContextLabel = szContext ? szContext : "DeviceCheck";
70-
if (hrCoopLevel == D3DERR_DEVICELOST || hrCoopLevel == D3DERR_DEVICENOTRESET)
71-
WriteDebugEvent(SString("CRenderItemManager::%s skipped due to device state: %08x", szContextLabel, hrCoopLevel));
72-
else
73-
WriteDebugEvent(SString("CRenderItemManager::%s unexpected cooperative level: %08x", szContextLabel, hrCoopLevel));
69+
(void)szContext;
7470
}
7571

7672
return hrCoopLevel;

0 commit comments

Comments
 (0)