aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2020-02-27 12:43:47 +0100
committerPierre Ossman <ossman@cendio.se>2020-02-27 12:43:47 +0100
commitea85e8b32b238b2c93bd94fe5fb9bba7c519fa88 (patch)
treec06c99c45ef7b3f6ef909640983c1f5a4b2e0585 /tests
parent954ad21da2092a257df60e42c9b1774fed40ac66 (diff)
downloadtigervnc-ea85e8b32b238b2c93bd94fe5fb9bba7c519fa88.tar.gz
tigervnc-ea85e8b32b238b2c93bd94fe5fb9bba7c519fa88.zip
Fix framebuffer setup in encperf
We adapted to the wrong new callback in a previous commit.
Diffstat (limited to 'tests')
-rw-r--r--tests/perf/encperf.cxx5
1 files 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;