aboutsummaryrefslogtreecommitdiffstats
path: root/tests/encperf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/encperf.cxx')
-rw-r--r--tests/encperf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/encperf.cxx b/tests/encperf.cxx
index 4e7038fd..a232fb92 100644
--- a/tests/encperf.cxx
+++ b/tests/encperf.cxx
@@ -203,7 +203,7 @@ void CConn::setDesktopSize(int w, int h)
CConnection::setDesktopSize(w, h);
pb = new rfb::ManagedPixelBuffer((bool)translate ? fbPF : cp.pf(),
- cp.width, cp.height);
+ cp.width(), cp.height());
setFramebuffer(pb);
}