summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-07-06 11:17:06 +0200
committerAndras Timar <andras.timar@collabora.com>2015-08-06 12:55:36 +0200
commit9e19937c1de2277fd343f39cbf164e1384199519 (patch)
tree0589bc4c727a70447d2b06f6109cdcad8378c867 /vcl
parent22a84307adee8219614bc2f425280ac3de1c7cdd (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')
-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 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)