call setTransparent

This commit is contained in:
yangxiao 2015-06-05 16:25:09 +08:00
parent fa71a6e352
commit 8e558db3d6
1 changed files with 1 additions and 0 deletions

View File

@ -350,6 +350,7 @@ void Mesh::draw(Renderer* renderer, float globalZOrder, const Mat4& transform, u
_meshCommand.setSkipBatching(isTransparent);
_meshCommand.setTransparent(isTransparent);
// set default uniforms for Mesh
// 'u_color' and others