From 773125e76af1d099c9f7f47ae2d2da5dc8d9d657 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 15 Jul 2011 13:41:02 +0000 Subject: [PATCH] Add some extra debug output when the frame buffer changes size. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4594 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- vncviewer/Viewport.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index 879c3c5f..08ca2728 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -303,6 +303,9 @@ void Viewport::resize(int x, int y, int w, int h) if ((w == frameBuffer->width()) && (h == frameBuffer->height())) goto end; + vlog.debug("Resing framebuffer from %dx%d to %dx%d", + frameBuffer->width(), frameBuffer->height(), w, h); + newBuffer = new PlatformPixelBuffer(w, h); assert(newBuffer); -- 2.39.5