commit 012e0fcdf866f87be9f94b66748f2c2dd1e9b950
parent 11222e0aa2958bfe0a5afb66d52eccf023fb1cda
Author: falkTX <falktx@gmail.com>
Date: Sun, 13 Apr 2014 12:38:56 +0000
Update Window.cpp code
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dgl/src/Window.cpp b/dgl/src/Window.cpp
@@ -400,14 +400,14 @@ public:
if (fView->width == static_cast<int>(width) && fView->height == static_cast<int>(height) && ! forced)
{
- DBG("Window setSize matches current size, ignoring request\n");
+ DBGp("Window setSize matches current size, ignoring request (%i %i)\n", width, height);
return;
}
fView->width = static_cast<int>(width);
fView->height = static_cast<int>(height);
- DBGp("Window setSize called %s\n", forced ? "(forced)" : "(not forced)");
+ DBGp("Window setSize called %s, size %i %i\n", forced ? "(forced)" : "(not forced)", width, height);
#if defined(DGL_OS_WINDOWS)
int winFlags = WS_POPUPWINDOW | WS_CAPTION;