diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/window.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 316bb0c438a1..10d9e39d5621 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -3936,7 +3936,8 @@ vcl::RenderSettings& Window::GetRenderSettings() bool Window::SupportsDoubleBuffering() const { - return mpWindowImpl->mbDoubleBuffering; + static bool bDoubleBuffering = getenv("VCL_DOUBLEBUFFERING_FORCE_ENABLE"); + return mpWindowImpl->mbDoubleBuffering || bDoubleBuffering; } void Window::SetDoubleBuffering(bool bDoubleBuffering) |