inanevin/LinaEngine

For Loop Stall inside Input.cpp

Closed this issue · 0 comments

Inside the Update function of Lina_Input.cpp, there is a for loop in order to fill corresponding key arrays. However, due to the nature of the main game loop, this for iteration stalls the main game loop, so that the main loop needs to wait until the iteration of the for loop is completed. We need to change this into another system.