Fix server only build
This commit is contained in:
parent
b42c540eed
commit
7ebc33bcaa
@ -203,8 +203,12 @@ IrrDriver::~IrrDriver()
|
||||
// ----------------------------------------------------------------------------
|
||||
const char* IrrDriver::getGPUQueryPhaseName(unsigned q)
|
||||
{
|
||||
#ifndef SERVER_ONLY
|
||||
assert(q < Q_LAST);
|
||||
return m_perf_query_phase[q];
|
||||
#else
|
||||
return "";
|
||||
#endif
|
||||
} // getGPUQueryPhaseName
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -712,7 +712,7 @@ int handleCmdLinePreliminary()
|
||||
UserConfigParams::m_verbosity |= UserConfigParams::LOG_ALL;
|
||||
if(CommandLine::has("--online"))
|
||||
MainMenuScreen::m_enable_online=true;
|
||||
#ifndef ANDROID
|
||||
#if !(defined(SERVER_ONLY) || defined(ANDROID))
|
||||
if(CommandLine::has("--apitrace"))
|
||||
{
|
||||
SP::sp_apitrace = true;
|
||||
|
Loading…
Reference in New Issue
Block a user