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