Fix profiler issue with RenderGlobal patch. Closes #414
This commit is contained in:
parent
183b3e6316
commit
307dd48229
1 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
- this.theWorld.theProfiler.startSection("prepare");
|
||||
this.theWorld.theProfiler.startSection("prepare");
|
||||
- TileEntityRenderer.instance.cacheActiveRenderInfo(this.theWorld, this.renderEngine, this.mc.fontRenderer, this.mc.renderViewEntity, par3);
|
||||
- RenderManager.instance.cacheActiveRenderInfo(this.theWorld, this.renderEngine, this.mc.fontRenderer, this.mc.renderViewEntity, this.mc.gameSettings, par3);
|
||||
- this.countEntitiesTotal = 0;
|
||||
|
@ -40,7 +40,6 @@
|
|||
+ List var5 = this.theWorld.getLoadedEntityList();
|
||||
+ if(pass == 0)
|
||||
+ {
|
||||
+ this.theWorld.theProfiler.startSection("prepare");
|
||||
+ TileEntityRenderer.instance.cacheActiveRenderInfo(this.theWorld, this.renderEngine, this.mc.fontRenderer, this.mc.renderViewEntity, par3);
|
||||
+ RenderManager.instance.cacheActiveRenderInfo(this.theWorld, this.renderEngine, this.mc.fontRenderer, this.mc.renderViewEntity, this.mc.gameSettings, par3);
|
||||
+ this.countEntitiesTotal = 0;
|
||||
|
|
Loading…
Reference in a new issue