aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/LevelRenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/LevelRenderer.cpp')
-rw-r--r--Minecraft.Client/LevelRenderer.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/Minecraft.Client/LevelRenderer.cpp b/Minecraft.Client/LevelRenderer.cpp
index 051ad892..d9510a53 100644
--- a/Minecraft.Client/LevelRenderer.cpp
+++ b/Minecraft.Client/LevelRenderer.cpp
@@ -2076,9 +2076,9 @@ bool LevelRenderer::updateDirtyChunks()
if( bAtomic || (index == 0) )
{
//PIXBeginNamedEvent(0,"Rebuilding near chunk %d %d %d",chunk->x, chunk->y, chunk->z);
- // static __int64 totalTime = 0;
- // static __int64 countTime = 0;
- // __int64 startTime = System::currentTimeMillis();
+ // static int64_t totalTime = 0;
+ // static int64_t countTime = 0;
+ // int64_t startTime = System::currentTimeMillis();
//app.DebugPrintf("Rebuilding permaChunk %d\n", index);
@@ -2087,7 +2087,7 @@ bool LevelRenderer::updateDirtyChunks()
if(index !=0)
s_rebuildCompleteEvents->Set(index-1); // MGH - this rebuild happening on the main thread instead, mark the thread it should have been running on as complete
- // __int64 endTime = System::currentTimeMillis();
+ // int64_t endTime = System::currentTimeMillis();
// totalTime += (endTime - startTime);
// countTime++;
// printf("%d : %f\n", countTime, (float)totalTime / (float)countTime);
@@ -2126,11 +2126,11 @@ bool LevelRenderer::updateDirtyChunks()
static Chunk permaChunk;
permaChunk.makeCopyForRebuild(chunk);
LeaveCriticalSection(&m_csDirtyChunks);
- // static __int64 totalTime = 0;
- // static __int64 countTime = 0;
- // __int64 startTime = System::currentTimeMillis();
+ // static int64_t totalTime = 0;
+ // static int64_t countTime = 0;
+ // int64_t startTime = System::currentTimeMillis();
permaChunk.rebuild();
- // __int64 endTime = System::currentTimeMillis();
+ // int64_t endTime = System::currentTimeMillis();
// totalTime += (endTime - startTime);
// countTime++;
// printf("%d : %f\n", countTime, (float)totalTime / (float)countTime);