The background is black instead of green

This commit is contained in:
loki-47-6F-64
2021-09-14 15:07:34 +02:00
parent 9982ae4675
commit f5db0e438b
3 changed files with 19 additions and 3 deletions

View File

@@ -213,9 +213,8 @@ public:
return -1;
}
this->sws = std::move(*sws_opt);
return 0;
sws = std::move(*sws_opt);
return sws.blank(fb, 0, 0, frame->width, frame->height);
}
int convert(platf::img_t &img) override {