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/button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/button.cpp') diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp index 0c71bf8bd..e1f95c334 100644 --- a/src/gui/widgets/button.cpp +++ b/src/gui/widgets/button.cpp @@ -471,7 +471,7 @@ void Button::draw(gcn::Graphics *graphics) } } - if (openGLMode != RENDER_SAFE_OPENGL) + if (isBatchDrawRenders(openGLMode)) { if (recalc) { -- cgit v1.2.3-70-g09d2