diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-07-15 13:41:02 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-07-15 13:41:02 +0000 |
commit | 773125e76af1d099c9f7f47ae2d2da5dc8d9d657 (patch) | |
tree | 6486f46d1759e0e4180841e1fdd37058c3f908b3 /vncviewer/Viewport.cxx | |
parent | f72eb6b790686e30ec0dd9e6e2022a2a9e1b5aab (diff) | |
download | tigervnc-773125e76af1d099c9f7f47ae2d2da5dc8d9d657.tar.gz tigervnc-773125e76af1d099c9f7f47ae2d2da5dc8d9d657.zip |
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
Diffstat (limited to 'vncviewer/Viewport.cxx')
-rw-r--r-- | vncviewer/Viewport.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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); |