mirror of https://github.com/axmolengine/axmol.git
tab style fix
This commit is contained in:
parent
6ed31fa47e
commit
f7888d9798
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue