From: Pierre Ossman Date: Fri, 15 Jul 2011 13:41:02 +0000 (+0000) Subject: Add some extra debug output when the frame buffer changes size. X-Git-Tag: v1.1.90~204 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=773125e76af1d099c9f7f47ae2d2da5dc8d9d657;p=tigervnc.git 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 --- 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);