diff --git a/src/main/scala/li/cil/oc/client/renderer/tileentity/ScreenRenderer.scala b/src/main/scala/li/cil/oc/client/renderer/tileentity/ScreenRenderer.scala index 33bd903b1d..efc9856d20 100644 --- a/src/main/scala/li/cil/oc/client/renderer/tileentity/ScreenRenderer.scala +++ b/src/main/scala/li/cil/oc/client/renderer/tileentity/ScreenRenderer.scala @@ -86,7 +86,10 @@ object ScreenRenderer extends TileEntitySpecialRenderer { RenderState.checkError(getClass.getName + ".renderTileEntityAt: fade") if (screen.buffer.isRenderingEnabled) { + val profiler = Minecraft.getMinecraft.mcProfiler + profiler.startSection("opencomputers:screen_text") draw() + profiler.endSection() } RenderState.enableLighting()