Skip to content

Commit 8c88bf3

Browse files
committed
Breakout: Turn off double-buffering
1 parent 959038d commit 8c88bf3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Games/Breakout/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ int main(int argc, char** argv)
3434
auto window = GUI::Window::construct();
3535
window->resize(Breakout::Game::game_width, Breakout::Game::game_height);
3636
window->set_title("Breakout");
37+
window->set_double_buffering_enabled(false);
3738
window->set_main_widget<Breakout::Game>();
3839
window->show();
3940
return app->exec();

0 commit comments

Comments
 (0)