mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-22 16:55:33 +00:00
fix(solution): HOLY SHIT IT'S COMPILING
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
PerformanceTimer::PerformanceTimer()
|
||||
{
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
#if !defined (__linux__)
|
||||
// Get the frequency of the timer
|
||||
LARGE_INTEGER qwTicksPerSec;
|
||||
QueryPerformanceFrequency( &qwTicksPerSec );
|
||||
@@ -15,14 +15,14 @@ PerformanceTimer::PerformanceTimer()
|
||||
|
||||
void PerformanceTimer::Reset()
|
||||
{
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
#if !defined (__linux__)
|
||||
QueryPerformanceCounter( &m_qwStartTime );
|
||||
#endif
|
||||
}
|
||||
|
||||
void PerformanceTimer::PrintElapsedTime(const wstring &description)
|
||||
{
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
#if !defined (__linux__)
|
||||
LARGE_INTEGER qwNewTime, qwDeltaTime;
|
||||
|
||||
QueryPerformanceCounter( &qwNewTime );
|
||||
@@ -32,4 +32,4 @@ void PerformanceTimer::PrintElapsedTime(const wstring &description)
|
||||
|
||||
app.DebugPrintf("TIMER: %ls: Elapsed time %f\n", description.c_str(), fElapsedTime);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user