Remove the outer profiler to LOD rendering
This commit is contained in:
@@ -488,7 +488,7 @@ public class ClientApi
|
||||
|
||||
|
||||
|
||||
profiler.push("Render" + (Config.Client.Advanced.Debugging.rendererMode.get() == ERendererMode.DEFAULT ? "-lods" : "-debug"));
|
||||
|
||||
try
|
||||
{
|
||||
if (Config.Client.Advanced.Debugging.rendererMode.get() == ERendererMode.DEFAULT)
|
||||
@@ -507,7 +507,9 @@ public class ClientApi
|
||||
}
|
||||
else if (Config.Client.Advanced.Debugging.rendererMode.get() == ERendererMode.DEBUG)
|
||||
{
|
||||
profiler.push("Render Debug");
|
||||
ClientApi.testRenderer.render();
|
||||
profiler.pop();
|
||||
}
|
||||
// the other rendererMode is DISABLED
|
||||
}
|
||||
@@ -521,7 +523,6 @@ public class ClientApi
|
||||
MC.sendChatMessage("\u00A74Renderer is now disabled to prevent further issues.");
|
||||
MC.sendChatMessage("\u00A74Exception detail: " + e);
|
||||
}
|
||||
profiler.pop();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user