Commit 6d80b111 authored by hybrid's avatar hybrid

Fix function signature for Linux systems. Bug noted by cheshirekow

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3403 dfc29bdd-3216-0410-991c-e03cc46cb475
parent db0375bf
...@@ -84,7 +84,7 @@ namespace os ...@@ -84,7 +84,7 @@ namespace os
void Timer::initTimer(bool usePerformanceTimer) void Timer::initTimer(bool usePerformanceTimer)
{ {
#if !defined(_WIN32_WCE) && !defined (_IRR_XBOX_PLATFORM_) #if !defined(_WIN32_WCE) && !defined (_IRR_XBOX_PLATFORM_)
// disable hires timer on multiple core systems, bios bugs result in bad hires timers. // workaround for hires timer on multiple core systems, bios bugs result in bad hires timers.
SYSTEM_INFO sysinfo; SYSTEM_INFO sysinfo;
GetSystemInfo(&sysinfo); GetSystemInfo(&sysinfo);
MultiCore = (sysinfo.dwNumberOfProcessors > 1); MultiCore = (sysinfo.dwNumberOfProcessors > 1);
...@@ -147,7 +147,7 @@ namespace os ...@@ -147,7 +147,7 @@ namespace os
printf("%s\n", message); printf("%s\n", message);
} }
void Timer::initTimer() void Timer::initTimer(bool usePerformanceTimer)
{ {
initVirtualTimer(); initVirtualTimer();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment