aboutsummaryrefslogtreecommitdiff
path: root/fesvr/rfb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'fesvr/rfb.cc')
-rw-r--r--fesvr/rfb.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/fesvr/rfb.cc b/fesvr/rfb.cc
index 2594a1b..bd72fda 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);
}
}