Fixed HardwareInfo not compiling
Former-commit-id: 70f193cc041f431970c4dd6a0d9993ff5fedc659
This commit is contained in:
parent
9ce7903b63
commit
be12026a30
|
|
@ -12,7 +12,7 @@ location("../examples/build/" .. _ACTION)
|
|||
|
||||
debugdir "../examples/bin"
|
||||
|
||||
includedirs { "../include", "../extlibs/lib/include" }
|
||||
includedirs { "../include", "../extlibs/include" }
|
||||
|
||||
libdirs "../lib"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@ defines "NAZARA_RENDERER_OPENGL"
|
|||
|
||||
files "main.cpp"
|
||||
|
||||
includedirs "../extlibs/include"
|
||||
|
||||
if (_OPTIONS["united"]) then
|
||||
configuration "DebugStatic"
|
||||
links "NazaraEngine-s-d"
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
// 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 << "Vendeur: " << NzHardwareInfo::GetProcessorVendorName() << std::endl;
|
||||
oss << "Concepteur: " << NzHardwareInfo::GetProcessorVendorName() << std::endl;
|
||||
oss << "Nombre de coeurs: " << NzHardwareInfo::GetProcessorCount() << std::endl;
|
||||
oss << std::endl;
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ int main()
|
|||
// 2) La chaîne d'identification du concepteur ("Vendor name")
|
||||
// 3) La version d'OpenGL
|
||||
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 << std::endl;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue