From e3682e2cdcb59c36792f6f9c39569e0af01088f0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 May 2015 01:58:52 +0300 Subject: Dont set global color variables before drawing text. This allow not set actual OpenGL color on each call because it useless for drawing text. --- src/gui/widgets/label.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gui/widgets/label.cpp') diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp index c08e15409..a5cabc365 100644 --- a/src/gui/widgets/label.cpp +++ b/src/gui/widgets/label.cpp @@ -184,7 +184,6 @@ void Label::draw(Graphics* graphics) const Image *const image = mTextChunk.img; if (image) graphics->drawImage(image, textX, textY); -// font->drawString(graphics, mCaption, textX, textY); BLOCK_END("Label::draw") } -- cgit v1.2.3-70-g09d2