Added b3Printf, b3Warning and b3Error that can be re-routed to custom handlers.
See in src/Bullet3Common/b3Logging.h for details
This commit is contained in:
@@ -180,7 +180,7 @@ struct InternalDataRenderer : public GLInstanceRendererInternalData
|
||||
}
|
||||
void keyboardCallback(unsigned char key, int x, int y)
|
||||
{
|
||||
printf("world\n");
|
||||
// printf("world\n");
|
||||
}
|
||||
|
||||
};
|
||||
@@ -637,7 +637,7 @@ void GLInstancingRenderer::writeTransforms()
|
||||
}
|
||||
} else
|
||||
{
|
||||
printf("ERROR glMapBuffer failed\n");
|
||||
b3Error("ERROR glMapBuffer failed\n");
|
||||
}
|
||||
glUnmapBuffer( GL_ARRAY_BUFFER);
|
||||
//if this glFinish is removed, the animation is not always working/blocks
|
||||
|
||||
Reference in New Issue
Block a user