Fixed HardwareInfo not compiling

Former-commit-id: 70f193cc041f431970c4dd6a0d9993ff5fedc659
This commit is contained in:
Lynix 2013-02-13 01:33:40 +01:00
parent 9ce7903b63
commit be12026a30
3 changed files with 3 additions and 5 deletions

View File

@ -12,7 +12,7 @@ location("../examples/build/" .. _ACTION)
debugdir "../examples/bin" debugdir "../examples/bin"
includedirs { "../include", "../extlibs/lib/include" } includedirs { "../include", "../extlibs/include" }
libdirs "../lib" libdirs "../lib"

View File

@ -4,8 +4,6 @@ defines "NAZARA_RENDERER_OPENGL"
files "main.cpp" files "main.cpp"
includedirs "../extlibs/include"
if (_OPTIONS["united"]) then if (_OPTIONS["united"]) then
configuration "DebugStatic" configuration "DebugStatic"
links "NazaraEngine-s-d" links "NazaraEngine-s-d"

View File

@ -27,7 +27,7 @@ int main()
// 2) Le concepteur du processeur, accessible via une énumération (GetProcessorVendor) ou une chaîne de caractère (GetProcessorVendorName) // 2) Le concepteur du processeur, accessible via une énumération (GetProcessorVendor) ou une chaîne de caractère (GetProcessorVendorName)
// 3) Le nombre de processeurs, alias bien souvent le nombre de coeurs, cette valeur est renvoyée par l'OS (Le SMT multiplie donc la valeur réelle) // 3) Le nombre de processeurs, alias bien souvent le nombre de coeurs, cette valeur est renvoyée par l'OS (Le SMT multiplie donc la valeur réelle)
oss << "Identification: " << NzHardwareInfo::GetProcessorBrandString() << std::endl; oss << "Identification: " << NzHardwareInfo::GetProcessorBrandString() << std::endl;
oss << "Vendeur: " << NzHardwareInfo::GetProcessorVendorName() << std::endl; oss << "Concepteur: " << NzHardwareInfo::GetProcessorVendorName() << std::endl;
oss << "Nombre de coeurs: " << NzHardwareInfo::GetProcessorCount() << std::endl; oss << "Nombre de coeurs: " << NzHardwareInfo::GetProcessorCount() << std::endl;
oss << std::endl; oss << std::endl;
@ -64,7 +64,7 @@ int main()
// 2) La chaîne d'identification du concepteur ("Vendor name") // 2) La chaîne d'identification du concepteur ("Vendor name")
// 3) La version d'OpenGL // 3) La version d'OpenGL
oss << "Identification: " << NzOpenGL::GetRendererName() << std::endl; oss << "Identification: " << NzOpenGL::GetRendererName() << std::endl;
oss << "Vendeur: " << NzOpenGL::GetVendorName() << std::endl; oss << "Concepteur: " << NzOpenGL::GetVendorName() << std::endl;
oss << "Version d'OpenGL: " << openglVersion/100 << '.' << openglVersion%100 << std::endl; oss << "Version d'OpenGL: " << openglVersion/100 << '.' << openglVersion%100 << std::endl;
oss << std::endl; oss << std::endl;