Skip to content

Commit

Permalink
Setting sleep time back to 0, it was affecting framerate more than I …
Browse files Browse the repository at this point in the history
…thought.
  • Loading branch information
MainMemory committed May 26, 2015
1 parent fd692ab commit eb78d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SonicBGScrollSaver/MainForm.cs
Expand Up @@ -183,7 +183,7 @@ void DrawStuff()
vscrollspeed = 0;
Invoke(DrawInvoker);
while (sw.ElapsedMilliseconds < frameTime)
Thread.Sleep(1);
Thread.Sleep(0);
sw.Reset();
}
}
Expand Down

0 comments on commit eb78d4b

Please sign in to comment.