| 120 | } |
| 121 | |
| 122 | void test() |
| 123 | { |
| 124 | geode::OpenGeodeMeshLibrary::initialize(); |
| 125 | geode::AttributeManager attributes; |
| 126 | attributes.resize( 42 ); |
| 127 | geode::TextureStorage2D storage; |
| 128 | create_texture( attributes, storage ); |
| 129 | save( storage, "storage" ); |
| 130 | auto reload = load( "storage" ); |
| 131 | check_texture( attributes, reload ); |
| 132 | } |
| 133 | |
| 134 | OPENGEODE_TEST( "texture-manager" ) |
no test coverage detected