| 463 | } |
| 464 | |
| 465 | void transform_CB(int id) |
| 466 | { |
| 467 | OCIO::ConstConfigRcPtr config = OCIO::GetCurrentConfig(); |
| 468 | |
| 469 | const char * transform = config->getView(g_display.c_str(), id); |
| 470 | if (!transform) |
| 471 | { |
| 472 | return; |
| 473 | } |
| 474 | |
| 475 | g_transformName = transform; |
| 476 | |
| 477 | g_look = config->getDisplayViewLooks(g_display.c_str(), g_transformName.c_str()); |
| 478 | |
| 479 | UpdateOCIOGLState(); |
| 480 | glutPostRedisplay(); |
| 481 | } |
| 482 | |
| 483 | void look_CB(int id) |
| 484 | { |
nothing calls this directly
no test coverage detected