mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
Breakout: Turn off double-buffering
This commit is contained in:
parent
959038d410
commit
8c88bf31ed
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue