aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/SDisplay.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/SDisplay.cxx')
-rw-r--r--win/rfb_win32/SDisplay.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/SDisplay.cxx b/win/rfb_win32/SDisplay.cxx
index 811b1033..612f883b 100644
--- a/win/rfb_win32/SDisplay.cxx
+++ b/win/rfb_win32/SDisplay.cxx
@@ -468,8 +468,8 @@ SDisplay::recreatePixelBuffer(bool force) {
// If nothing has changed & a recreate has not been forced, delete
// the new device context and return
if (pb && !force &&
- newScreenRect.equals(screenRect) &&
- new_device->getPF().equal(pb->getPF())) {
+ newScreenRect == screenRect &&
+ new_device->getPF() == pb->getPF()) {
delete new_device;
return;
}