| 2116 | } |
| 2117 | |
| 2118 | static dmImage::CompressionType ToImageCompressionType(const char* type_str) |
| 2119 | { |
| 2120 | if (strcmp(type_str, "astc") == 0) { |
| 2121 | return dmImage::COMPRESSION_TYPE_ASTC; |
| 2122 | } |
| 2123 | return dmImage::COMPRESSION_TYPE_NONE; |
| 2124 | } |
| 2125 | |
| 2126 | /*# create new texture |
| 2127 | * Dynamically create a new texture. |
no outgoing calls
no test coverage detected