mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Breakout: Turn off double-buffering
This commit is contained in:
parent
959038d410
commit
8c88bf31ed
Notes:
sideshowbarker
2024-07-19 01:28:14 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/8c88bf31ed5
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…
Reference in a new issue