STKBillboard: Fix a typo

This commit is contained in:
Vincent Lejeune
2014-01-27 20:33:56 +01:00
parent 22ccf3bab3
commit 0bbba17e5e

View File

@@ -43,7 +43,7 @@ void STKBillboard::render()
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glBlendEquation(GL_FUNC_ADD);
glDepthFunc(GL_FALSE);
glDepthMask(GL_FALSE);
core::vector3df pos = getAbsolutePosition();
glBindVertexArray(billboardvao);
GLuint texid = static_cast<irr::video::COpenGLTexture*>(Material.getTexture(0))->getOpenGLTextureName();