Projects > cpp > Issues > Bug #4552

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Texture ID and Program ID exceed the boundaries

Bug #4552 [Closed]
dabingnn 2014-03-25 06:20 . Updated over 10 years ago

On some android devices(such as Galaxy S), glGenTextures and glCreateProgram will return an ID which is non repeated random integer.
however, we used Texture ID , blendID together with program ID to generate a 64bit materialID.
TextureID for 32 bit, program id for 10bit. however, the ID generated by openGL will exceed this boundary, we need a mapping between openGL ID and Material ID(used for renderer).

zhangxm 2014-03-28 08:36
  • Status changed from New to Closed
  • Assignee set to dabingnn

Atom PDF

Status:Closed
Start date:2014-03-25
Priority:High
Due date:
Assignee:dabingnn
% Done:

0%

Category:android
Target version:3.0-rc1