Merge remote-tracking branch 'origin/master' into soccer_ai

This commit is contained in:
Benau 2016-01-18 09:54:23 +08:00
commit d9a9900608

View File

@ -1554,6 +1554,8 @@ void IrrDriver::renderTransparent()
ListAdditiveTransparent::getInstance()); ListAdditiveTransparent::getInstance());
} }
//glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
for (unsigned i = 0; i < BillBoardList::getInstance()->size(); i++) for (unsigned i = 0; i < BillBoardList::getInstance()->size(); i++)
BillBoardList::getInstance()->at(i)->render(); BillBoardList::getInstance()->at(i)->render();