Rust Game Series - Part 4 - removing global state jendrikillner.com/post/rust-game
Conversation
Replying to
PostQuitMessage(0) pushes WM_QUIT message to the queue so you can break the main loop like this:
{
TranslateMessage(&msg);
DispatchMessageA(&msg);
if (msg.message == WM_QUIT) break;
}
Replying to
That means I can get rid of an extra bool and the need to disable the clippy warning. That's great :)
Thank you
1

