Fix loss of connection when switching display resolution on windows

This commit is contained in:
loki 2020-01-16 21:32:53 +01:00
commit 701e0e97fe
4 changed files with 81 additions and 90 deletions

View file

@ -33,7 +33,6 @@ enum class capture_e : int {
class display_t {
public:
virtual capture_e snapshot(img_t *img, bool cursor) = 0;
virtual int reinit() = 0;
virtual std::unique_ptr<img_t> alloc_img() = 0;
virtual ~display_t() = default;