From 3bebc57983052ffc2ba578eeeb6d811f0b278da9 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 27 May 2014 13:58:40 +0100 Subject: [PATCH] Test fix --- dgl/src/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dgl/src/Window.cpp b/dgl/src/Window.cpp index 58b3495a..618ffad2 100644 --- a/dgl/src/Window.cpp +++ b/dgl/src/Window.cpp @@ -587,7 +587,7 @@ struct Window::PrivateData { else if (! widget->fNeedsScaling) { // only set viewport pos - glViewport(widget->getAbsoluteX(), fView->height - widget->getHeight() - widget->getAbsoluteY(), fView->width, fView->height); + glViewport(widget->getAbsoluteX(), /*fView->height - widget->getHeight()*/ - widget->getAbsoluteY(), fView->width, fView->height); // display widget widget->onDisplay();