time fix
This commit is contained in:
parent
4cf8c61013
commit
3f18b3ae55
1 changed files with 1 additions and 1 deletions
|
|
@ -599,7 +599,7 @@ void Window::Update() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mouseDelta = {currentMousePos.x-lastMousePos.x, currentMousePos.y-lastMousePos.y};
|
mouseDelta = {currentMousePos.x-lastMousePos.x, currentMousePos.y-lastMousePos.y};
|
||||||
|
currentFrameTime = {start, start-lastFrameBegin};
|
||||||
#ifdef CRAFTER_TIMING
|
#ifdef CRAFTER_TIMING
|
||||||
auto renderStart = std::chrono::high_resolution_clock::now();
|
auto renderStart = std::chrono::high_resolution_clock::now();
|
||||||
renderTimings.clear();
|
renderTimings.clear();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue