mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
tetris: clear screen in case background isn't available
This commit is contained in:
parent
bcabc0960b
commit
7a459abd56
@ -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(...){
|
||||
|
Loading…
x
Reference in New Issue
Block a user