Breakout: Turn off double-buffering

This commit is contained in:
Andreas Kling 2020-11-10 14:20:51 +01:00
parent 959038d410
commit 8c88bf31ed
Notes: sideshowbarker 2024-07-19 01:28:14 +09:00

View file

@ -34,6 +34,7 @@ int main(int argc, char** argv)
auto window = GUI::Window::construct();
window->resize(Breakout::Game::game_width, Breakout::Game::game_height);
window->set_title("Breakout");
window->set_double_buffering_enabled(false);
window->set_main_widget<Breakout::Game>();
window->show();
return app->exec();