Merge branch 'master' of https://github.com/supertuxkart/stk-code
This commit is contained in:
commit
58e20bebd7
@ -69,6 +69,8 @@ int getRAM()
|
||||
memory_size /= (1024*1024);
|
||||
return int(memory_size);
|
||||
#endif
|
||||
Log::error("HW report",
|
||||
"No RAM information available for hardware report.");
|
||||
return 0;
|
||||
} // getRAM
|
||||
|
||||
@ -95,6 +97,9 @@ int getNumProcessors()
|
||||
assert(ret != -1);
|
||||
return ncpus;
|
||||
#endif
|
||||
Log::error("HW report",
|
||||
"Number of processors not available for hardware report.");
|
||||
return 0;
|
||||
} // getNumProcessors
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -696,7 +696,7 @@ void Material::setMaterialProperties(video::SMaterial *m, scene::IMeshBuffer* m
|
||||
}
|
||||
else
|
||||
{
|
||||
glossytex = getUnicolorTexture(SColor(0., 0., 0., 0.));
|
||||
glossytex = getUnicolorTexture(SColor(0, 0, 0, 0));
|
||||
}
|
||||
switch (m_shader_type)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user