From: Pierre Ossman Date: Thu, 27 Feb 2020 11:43:47 +0000 (+0100) Subject: Fix framebuffer setup in encperf X-Git-Tag: v1.10.90~48 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ea85e8b32b238b2c93bd94fe5fb9bba7c519fa88;p=tigervnc.git Fix framebuffer setup in encperf We adapted to the wrong new callback in a previous commit. --- 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;