Rearrange the main game event loop a little
This patch is contributed by @x-qq and should improve CPU usage on Linux.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <SFML/Graphics.hpp>
|
||||
|
||||
int main(int argc, char* argv[]);
|
||||
void Handle_One_Event();
|
||||
bool Handle_One_Event();
|
||||
void Handle_Update();
|
||||
void Mouse_Pressed();
|
||||
void close_program();
|
||||
|
Reference in New Issue
Block a user