diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-04 00:49:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-04 00:49:33 +0300 |
commit | db57c5be30ff61394b7fff8b0c7fa0101e66d6c0 (patch) | |
tree | 5bd683f3aeb3cfef458eaa45726f3e06c721b3b6 /src/gui/widgets/avatarlistbox.cpp | |
parent | 1485b138c5b906546381f1ae4a91553a3c2fc6c4 (diff) | |
download | manaverse-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.tar.gz manaverse-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.tar.bz2 manaverse-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.tar.xz manaverse-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.zip |
improve checking for batch draw mode support by renderer.
Diffstat (limited to 'src/gui/widgets/avatarlistbox.cpp')
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp index 664263518..123f7f843 100644 --- a/src/gui/widgets/avatarlistbox.cpp +++ b/src/gui/widgets/avatarlistbox.cpp @@ -113,7 +113,7 @@ void AvatarListBox::draw(gcn::Graphics *gcnGraphics) // Draw the list elements graphics->setColorAll(mForegroundColor, mForegroundColor2); ImageCollection vertexes; - const bool useCaching = openGLMode != RENDER_SAFE_OPENGL; + const bool useCaching = isBatchDrawRenders(openGLMode); for (int i = 0, y = 0; i < model->getNumberOfElements(); |