Skip to content

Commit 53097a6

Browse files
committed
Addendum to e58cd39
1 parent d0dd800 commit 53097a6

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)