summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-07-06 11:17:06 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-07-06 11:37:03 +0200
commit158654894091db2689ddf83d2bb2104e9a408f29 (patch)
tree74da2087ca19e76d206571bcb128ca1fdbece128 /vcl
parentc760932fae3c2763a8b573511a5ad1e0f2b75ca7 (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).
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/window.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 1fe9b38c38eb..8ecf0f4172bd 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)