mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix profiler issue with RenderGlobal patch. Closes #414
This commit is contained in:
1 parent
183b3e6316
commit
307dd48229
1 file changed
+1
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user