Fix colors of the cursor on Windows

This commit is contained in:
loki
2020-01-11 23:57:04 +01:00
parent e3ef2f1c1d
commit 1cd5572020
2 changed files with 13 additions and 21 deletions

View File

@@ -220,12 +220,6 @@ void capture_display(packet_queue_t packets, idr_event_t idr_events, config_t co
}
images->raise(std::move(img));
auto t = std::chrono::steady_clock::now();
if(t > next_snapshot) {
BOOST_LOG(warning) << "Taking snapshot took "sv << std::chrono::floor<std::chrono::milliseconds>(t - next_snapshot).count() << " milliseconds too long"sv;
}
std::this_thread::sleep_until(next_snapshot);
}