fixed the rug becoming black on some computers when resizing window or during the start animation

This commit is contained in:
Zeno Rogue
2019-11-03 15:52:19 +01:00
parent 1eb27b3393
commit af9b049057
4 changed files with 24 additions and 12 deletions
+1
View File
@@ -1172,6 +1172,7 @@ void rug() {
rug::apply_rotation(cspin(1, 2, ticks / 3000.));
gamescreen(2);
rug::apply_rotation(cspin(1, 2, -ticks / 3000.));
if(!rug::rugged) current = null_animation;
}
#endif