mirror of https://github.com/axmolengine/axmol.git
closed #3874: fix bug, blendID should be shifted by 50 bits
This commit is contained in:
parent
c7315a2e3e
commit
cd7b075900
|
@ -97,7 +97,7 @@ void QuadCommand::generateMaterialID()
|
|||
// +---------------------+-------------------+----------------------------------------+
|
||||
|
||||
_materialID = (uint64_t)_shader->getProgram() << 54
|
||||
| (uint64_t)blendID << 40
|
||||
| (uint64_t)blendID << 50
|
||||
| (uint64_t)_textureID << 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue