Kaydet (Commit) 15865489 authored tarafından Miklos Vajna's avatar Miklos Vajna

Revert "vcl::Window::SupportsDoubleBuffering: respect VCL_DOUBLEBUFFERING_FORCE_ENABLE"

This reverts commit 7df3879d. It's not
necessary since commit f16d82ea (make it
possible to force enable double buffering for all widgets, 2015-06-03).
üst c760932f
...@@ -3936,8 +3936,7 @@ vcl::RenderSettings& Window::GetRenderSettings() ...@@ -3936,8 +3936,7 @@ vcl::RenderSettings& Window::GetRenderSettings()
bool Window::SupportsDoubleBuffering() const bool Window::SupportsDoubleBuffering() const
{ {
static bool bDoubleBuffering = getenv("VCL_DOUBLEBUFFERING_FORCE_ENABLE"); return mpWindowImpl->mbDoubleBuffering;
return mpWindowImpl->mbDoubleBuffering || bDoubleBuffering;
} }
void Window::SetDoubleBuffering(bool bDoubleBuffering) void Window::SetDoubleBuffering(bool bDoubleBuffering)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment