mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:17:34 +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();
|
auto window = GUI::Window::construct();
|
||||||
window->resize(Breakout::Game::game_width, Breakout::Game::game_height);
|
window->resize(Breakout::Game::game_width, Breakout::Game::game_height);
|
||||||
window->set_title("Breakout");
|
window->set_title("Breakout");
|
||||||
|
window->set_double_buffering_enabled(false);
|
||||||
window->set_main_widget<Breakout::Game>();
|
window->set_main_widget<Breakout::Game>();
|
||||||
window->show();
|
window->show();
|
||||||
return app->exec();
|
return app->exec();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue