mirror of https://github.com/axmolengine/axmol.git
Remove unused debug function in RenderCommand
This commit is contained in:
parent
50ebac34a6
commit
0872a50f60
|
@ -60,24 +60,6 @@ void RenderCommand::init(float globalZOrder, const cocos2d::Mat4 &transform, uin
|
|||
}
|
||||
}
|
||||
|
||||
void printBits(ssize_t const size, void const * const ptr)
|
||||
{
|
||||
unsigned char *b = (unsigned char*) ptr;
|
||||
unsigned char byte;
|
||||
ssize_t i, j;
|
||||
|
||||
for (i=size-1;i>=0;i--)
|
||||
{
|
||||
for (j=7;j>=0;j--)
|
||||
{
|
||||
byte = b[i] & (1<<j);
|
||||
byte >>= j;
|
||||
printf("%u", byte);
|
||||
}
|
||||
}
|
||||
puts("");
|
||||
}
|
||||
|
||||
void RenderCommand::printID()
|
||||
{
|
||||
printf("Command Depth: %f\n", _globalOrder);
|
||||
|
|
Loading…
Reference in New Issue