| 463 | OSPRAY_CATCH_END(nullptr) |
| 464 | |
| 465 | extern "C" OSPTexture ospNewTexture(const char *_type) OSPRAY_CATCH_BEGIN |
| 466 | { |
| 467 | THROW_IF_NULL_STRING(_type); |
| 468 | |
| 469 | ASSERT_DEVICE(); |
| 470 | OSPTexture texture = currentDevice().newTexture(_type); |
| 471 | return texture; |
| 472 | } |
| 473 | OSPRAY_CATCH_END(nullptr) |
| 474 | |
| 475 | /////////////////////////////////////////////////////////////////////////////// |
no test coverage detected