Don't log GPU device on dedicated

This commit is contained in:
Kawe Mazidjatari 2023-04-29 12:16:09 +02:00
parent 3ea49766c6
commit d46061a55a

View File

@ -250,6 +250,7 @@ void Winsock_Shutdown()
}
void QuerySystemInfo()
{
#ifndef DEDICATED
for (int i = 0; ; i++)
{
DISPLAY_DEVICE dd = { sizeof(dd), {0} };
@ -266,6 +267,7 @@ void QuerySystemInfo()
spdlog::info("{:25s}: '{:s}'\n", "GPU model identifier", szDeviceName);
}
}
#endif // !DEDICATED
const CPUInformation& pi = GetCPUInformation();