diff options
Diffstat (limited to 'tests/perf')
-rw-r--r-- | tests/perf/decperf.cxx | 7 | ||||
-rw-r--r-- | tests/perf/encperf.cxx | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/tests/perf/decperf.cxx b/tests/perf/decperf.cxx index 66a50d02..ef53a686 100644 --- a/tests/perf/decperf.cxx +++ b/tests/perf/decperf.cxx @@ -68,7 +68,6 @@ public: ~CConn(); void initDone() override; - void setPixelFormat(const rfb::PixelFormat& pf) override; void setCursor(int, int, const rfb::Point&, const uint8_t*) override; void setCursorPos(const rfb::Point&) override; void framebufferUpdateStart() override; @@ -139,12 +138,6 @@ void CConn::initDone() server.height())); } -void CConn::setPixelFormat(const rfb::PixelFormat& /*pf*/) -{ - // Override format - CConnection::setPixelFormat(filePF); -} - void CConn::setCursor(int, int, const rfb::Point&, const uint8_t*) { } diff --git a/tests/perf/encperf.cxx b/tests/perf/encperf.cxx index 25dca490..ac8e9d47 100644 --- a/tests/perf/encperf.cxx +++ b/tests/perf/encperf.cxx @@ -189,7 +189,7 @@ CConn::CConn(const char *filename) // Nor the frame buffer size and format rfb::PixelFormat pf; pf.parse(format); - setPixelFormat(pf); + server.setPF(pf); setDesktopSize(width, height); sc = new SConn(); |