Remove unused debug function in RenderCommand

This commit is contained in:
mogemimi 2016-06-17 03:19:19 +09:00
parent 50ebac34a6
commit 0872a50f60
1 changed files with 0 additions and 18 deletions

View File

@ -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);