TETRIS: Fix score not updating

This commit is contained in:
zvon 2021-01-30 23:12:30 +01:00
parent 79557e9edc
commit ba1e2a2dc5

View File

@ -20,6 +20,7 @@ std::vector< std::shared_ptr< SDLPP::RenderObject > > line_coliders{};
void updateScore() { void updateScore() {
g_score_texture->changeText( std::to_string( g_score ) ); g_score_texture->changeText( std::to_string( g_score ) );
g_score_texture->updateSizeAndPosition();
} }
void doInput() { void doInput() {