diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-06 11:17:06 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-07 10:14:14 +0200 |
commit | f3596e705d072f2d968cd4cc75f8aeecf4048552 (patch) | |
tree | 6da750c797c766bf9df8b3c3e3072f764d8f05e3 /vcl/source | |
parent | a24da4040675bf18c74c54fc9f3480aa7834efc1 (diff) |
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).
(cherry picked from commit 158654894091db2689ddf83d2bb2104e9a408f29)
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/window.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 8afd41259f4d..6e3e60e6eabf 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -3943,8 +3943,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) |