tab style fix

This commit is contained in:
tangziwen 2014-10-15 17:01:56 +08:00
parent 6ed31fa47e
commit f7888d9798
1 changed files with 10 additions and 17 deletions

View File

@ -576,12 +576,6 @@ void Sprite3D::draw(Renderer *renderer, const Mat4 &transform, uint32_t flags)
}
auto programstate = mesh->getGLProgramState();
auto& meshCommand = mesh->getMeshCommand();
if(dummy_texture<0)
{
dummy_texture = dummyTextureInit();
}
#ifdef NDEBUG
GLuint textureID = mesh->getTexture() ? mesh->getTexture()->getName() : 0;
#else
@ -596,7 +590,6 @@ void Sprite3D::draw(Renderer *renderer, const Mat4 &transform, uint32_t flags)
mesh->setTexture(texture);
}
#endif
float globalZ = _globalZOrder;
if (mesh->_isTransparent)
{ // use the view matrix for Applying to recalculating transparent mesh's Z-Order