closed #3874: fix bug, blendID should be shifted by 50 bits

This commit is contained in:
Huabing.Xu 2014-02-27 09:27:33 +08:00
parent c7315a2e3e
commit cd7b075900
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ void QuadCommand::generateMaterialID()
// +---------------------+-------------------+----------------------------------------+ // +---------------------+-------------------+----------------------------------------+
_materialID = (uint64_t)_shader->getProgram() << 54 _materialID = (uint64_t)_shader->getProgram() << 54
| (uint64_t)blendID << 40 | (uint64_t)blendID << 50
| (uint64_t)_textureID << 0; | (uint64_t)_textureID << 0;
} }