tetris: clear screen in case background isn't available

This commit is contained in:
nick black 2020-07-21 22:37:49 -04:00
parent bcabc0960b
commit 7a459abd56
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -8,6 +8,7 @@ void DrawBackground(const std::string& s) { // drawn to the standard plane
}
void DrawBoard() { // draw all fixed components of the game
stdplane_->erase();
try{
DrawBackground(BackgroundFile);
}catch(...){