update comment

This commit is contained in:
David Zhao 2019-06-07 10:36:36 +09:00
parent ac9a3e54a6
commit e2118299e9
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ public CursorTrail()
for (int i = 0; i < max_sprites; i++)
{
// InvalidationID 1 forces an update of each part of the cursor trail the first time ApplyState is ran on the draw node
// InvalidationID 1 forces an update of each part of the cursor trail the first time ApplyState is run on the draw node
// This is to prevent garbage data from being sent to the vertex shader, resulting in visual issues on some platforms
parts[i].InvalidationID = 1;
parts[i].WasUpdated = true;
}