Skip to content

Commit

Permalink
inline thread sleep
Browse files Browse the repository at this point in the history
it's commented out anyway
  • Loading branch information
SlenderFox committed Dec 6, 2022
1 parent 57e45df commit dd6a737
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions GameEngine/src/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ namespace engine
if ((bool)glfwGetWindowAttrib(s_windowRef, GLFW_ICONIFIED))
{
// TODO: Figure out why sleeping the thread freezes when unminimised
//using namespace std::chrono_literals;
//std::this_thread::sleep_for(66ms);
//std::this_thread::sleep_for(std::chrono::milliseconds(66));
Sleep(66UL);
continue;
}
Expand Down

0 comments on commit dd6a737

Please sign in to comment.