Skip to content

Commit e4e9fe1

Browse files
[Rendering] Minor tweaks;
1 parent ed47a78 commit e4e9fe1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Engine/Core/Rendering/RenderSystem/RenderSystem+Internal.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,11 @@ internal void QueueFrameCallback(uint frame, Action callback)
119119
}
120120

121121
/// <summary>
122-
/// Called at the start of each frame
122+
/// Called at the end of each frame
123123
/// </summary>
124124
/// <param name="frame">The current frame</param>
125125
internal void OnFrame(uint frame)
126126
{
127-
CulledRenderers = 0;
128-
129127
List<Action> callbacks = null;
130128

131129
lock (lockObject)
@@ -190,6 +188,8 @@ public void Update()
190188
return;
191189
}
192190

191+
CulledRenderers = 0;
192+
193193
if (UseDrawcallInterpolator)
194194
{
195195
UpdateAccumulator();

0 commit comments

Comments
 (0)