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)
|
const char* IrrDriver::getGPUQueryPhaseName(unsigned q)
|
||||||
{
|
{
|
||||||
|
#ifndef SERVER_ONLY
|
||||||
assert(q < Q_LAST);
|
assert(q < Q_LAST);
|
||||||
return m_perf_query_phase[q];
|
return m_perf_query_phase[q];
|
||||||
|
#else
|
||||||
|
return "";
|
||||||
|
#endif
|
||||||
} // getGPUQueryPhaseName
|
} // getGPUQueryPhaseName
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@ -712,7 +712,7 @@ int handleCmdLinePreliminary()
|
|||||||
UserConfigParams::m_verbosity |= UserConfigParams::LOG_ALL;
|
UserConfigParams::m_verbosity |= UserConfigParams::LOG_ALL;
|
||||||
if(CommandLine::has("--online"))
|
if(CommandLine::has("--online"))
|
||||||
MainMenuScreen::m_enable_online=true;
|
MainMenuScreen::m_enable_online=true;
|
||||||
#ifndef ANDROID
|
#if !(defined(SERVER_ONLY) || defined(ANDROID))
|
||||||
if(CommandLine::has("--apitrace"))
|
if(CommandLine::has("--apitrace"))
|
||||||
{
|
{
|
||||||
SP::sp_apitrace = true;
|
SP::sp_apitrace = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user