add (commented out) command line render tree visualization

This commit is contained in:
Konstantin Käfer
2014-04-16 14:30:35 -04:00
parent 187b55448a
commit 57c5a00907

View File

@@ -39,12 +39,16 @@ namespace llmr {
namespace gl {
// Debug group markers, useful for debuggin on iOS
#if GL_EXT_debug_marker
// static int indent = 0;
inline void start_group(const std::string &str) {
glPushGroupMarkerEXT(0, str.c_str());
// fprintf(stderr, "%s%s\n", std::string(indent * 4, ' ').c_str(), str.c_str());
// indent++;
}
inline void end_group() {
glPopGroupMarkerEXT();
// indent--;
}
#else
inline void start_group(const std::string &) {}