[Libreoffice-commits] core.git: vcl/source

Miklos Vajna vmiklos at collabora.co.uk
Mon Jul 6 02:38:37 PDT 2015


 vcl/source/window/window.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 158654894091db2689ddf83d2bb2104e9a408f29
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Jul 6 11:17:06 2015 +0200

    Revert "vcl::Window::SupportsDoubleBuffering: respect VCL_DOUBLEBUFFERING_FORCE_ENABLE"
    
    This reverts commit 7df3879d3f6222b840724ae748bdf8bf6a7af9f1. It's not
    necessary since commit f16d82ea8f1d2815faa978a4481c6b3c9c8705f8 (make it
    possible to force enable double buffering for all widgets, 2015-06-03).

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 1fe9b38..8ecf0f4 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -3936,8 +3936,7 @@ vcl::RenderSettings& Window::GetRenderSettings()
 
 bool Window::SupportsDoubleBuffering() const
 {
-    static bool bDoubleBuffering = getenv("VCL_DOUBLEBUFFERING_FORCE_ENABLE");
-    return mpWindowImpl->mbDoubleBuffering || bDoubleBuffering;
+    return mpWindowImpl->mbDoubleBuffering;
 }
 
 void Window::SetDoubleBuffering(bool bDoubleBuffering)


More information about the Libreoffice-commits mailing list