compile fix

This commit is contained in:
Erwin Coumans
2017-06-02 09:01:50 -07:00
parent 5a89b4f385
commit 8ef3a60f1c

View File

@@ -46,7 +46,6 @@ struct b3ClockData
#ifdef B3_USE_WINDOWS_TIMERS #ifdef B3_USE_WINDOWS_TIMERS
LARGE_INTEGER mClockFrequency; LARGE_INTEGER mClockFrequency;
DWORD mStartTick;
LARGE_INTEGER mStartTime; LARGE_INTEGER mStartTime;
#else #else
#ifdef __CELLOS_LV2__ #ifdef __CELLOS_LV2__
@@ -92,7 +91,6 @@ void b3Clock::reset(bool zeroReference)
{ {
if (zeroReference) if (zeroReference)
{ {
m_data->mStartTick = 0;
#ifdef B3_USE_WINDOWS_TIMERS #ifdef B3_USE_WINDOWS_TIMERS
m_data->mStartTime.QuadPart = 0; m_data->mStartTime.QuadPart = 0;
#else #else
@@ -107,7 +105,6 @@ void b3Clock::reset(bool zeroReference)
{ {
#ifdef B3_USE_WINDOWS_TIMERS #ifdef B3_USE_WINDOWS_TIMERS
QueryPerformanceCounter(&m_data->mStartTime); QueryPerformanceCounter(&m_data->mStartTime);
m_data->mStartTick = GetTickCount();
#else #else
#ifdef __CELLOS_LV2__ #ifdef __CELLOS_LV2__