From cb911a6daab164d30ec06c915281d759645c4c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Fri, 27 Aug 2021 15:39:29 +0200 Subject: [PATCH] Update HardwareInfoImpl.cpp --- src/Nazara/Core/Win32/HardwareInfoImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nazara/Core/Win32/HardwareInfoImpl.cpp b/src/Nazara/Core/Win32/HardwareInfoImpl.cpp index 7d75153ee..fea0668bc 100644 --- a/src/Nazara/Core/Win32/HardwareInfoImpl.cpp +++ b/src/Nazara/Core/Win32/HardwareInfoImpl.cpp @@ -19,7 +19,7 @@ namespace Nz #if defined(NAZARA_COMPILER_MSVC) static_assert(sizeof(UInt32) == sizeof(int), "Assertion failed"); - // Visual propose une fonction intrinsèque pour le cpuid + // Use intrinsic function if available __cpuidex(reinterpret_cast(registers), static_cast(functionId), static_cast(subFunctionId)); #elif defined(NAZARA_COMPILER_CLANG) || defined(NAZARA_COMPILER_GCC) || defined(NAZARA_COMPILER_INTEL) // https://en.wikipedia.org/wiki/CPUID