From db57c5be30ff61394b7fff8b0c7fa0101e66d6c0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 4 Nov 2013 00:49:33 +0300 Subject: improve checking for batch draw mode support by renderer. --- src/gui/widgets/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/window.cpp') diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 542b0141f..02f6cf35e 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -216,7 +216,7 @@ void Window::draw(gcn::Graphics *graphics) Graphics *const g = static_cast(graphics); bool update = false; - if (openGLMode != RENDER_SAFE_OPENGL) + if (isBatchDrawRenders(openGLMode)) { if (mResizeHandles != mOldResizeHandles) { -- cgit v1.2.3-70-g09d2