Fix warning in Pow3r test program. (#12637)

This commit is contained in:
Pieter-Jan Briers
2022-11-16 21:58:00 +01:00
committed by GitHub
parent a52c0bce90
commit ce300718d6

View File

@@ -227,7 +227,7 @@ namespace Pow3r
while (!GLFW.WindowShouldClose(_window.WindowPtr))
{
_window.ProcessEvents();
NativeWindow.ProcessWindowEvents(false);
var tickSpan = TimeSpan.FromSeconds(1f / _tps);
while (curTime - lastTick > tickSpan)