diff --git a/fesvr/rfb.cc b/fesvr/rfb.cc index 2594a1b8..bd72fda7 100644 --- a/fesvr/rfb.cc +++ b/fesvr/rfb.cc @@ -119,7 +119,7 @@ void rfb_t::set_pixel_format(const std::string& s) throw std::runtime_error("bad pixel format"); } -void rfb_t::fb_update(const std::string& s) +void rfb_t::fb_update() { std::string u; u += str(uint8_t(0)); @@ -153,7 +153,7 @@ void rfb_t::tick() std::swap(fb1, fb2); if (pthread_mutex_trylock(&lock) == 0) { - fb_update(""); + fb_update(); pthread_mutex_unlock(&lock); } } diff --git a/fesvr/rfb.h b/fesvr/rfb.h index 263663a2..e153bc80 100644 --- a/fesvr/rfb.h +++ b/fesvr/rfb.h @@ -25,7 +25,7 @@ class rfb_t : public device_t void thread_main(); friend void* rfb_thread_main(void*); std::string pixel_format(); - void fb_update(const std::string& s); + void fb_update(); void set_encodings(const std::string& s); void set_pixel_format(const std::string& s); void write(const std::string& s);