From ea85e8b32b238b2c93bd94fe5fb9bba7c519fa88 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 27 Feb 2020 12:43:47 +0100 Subject: [PATCH] Fix framebuffer setup in encperf We adapted to the wrong new callback in a previous commit. --- tests/perf/encperf.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/perf/encperf.cxx b/tests/perf/encperf.cxx index 286a8d7b..1b14151b 100644 --- a/tests/perf/encperf.cxx +++ b/tests/perf/encperf.cxx @@ -90,7 +90,8 @@ public: void getStats(double& ratio, unsigned long long& bytes, unsigned long long& rawEquivalent); - virtual void initDone(); + virtual void initDone() {}; + virtual void resizeFramebuffer(); virtual void setCursor(int, int, const rfb::Point&, const rdr::U8*); virtual void framebufferUpdateStart(); virtual void framebufferUpdateEnd(); @@ -201,7 +202,7 @@ void CConn::getStats(double& ratio, unsigned long long& bytes, sc->getStats(ratio, bytes, rawEquivalent); } -void CConn::initDone() +void CConn::resizeFramebuffer() { rfb::ModifiablePixelBuffer *pb; -- 2.39.5