Do You mean this function can be written so:
Code:
inline const bool IsSoftwareDrawingMode (void)
{
#ifdef _LINUX
return true; // Always software rendering mode....
#else // ifdef _LINUX
static const bool KWoMode = (IS_DEDICATED_SERVER () || GetModuleHandle ("sw.dll") != NULL);
return KWoMode;
#endif // ifndef _LINUX
}
and it will work the same? So what was the reason it was named the same inside as the global inline const? Just to confuse a noob in C++ programming?