| 529 | } |
| 530 | |
| 531 | static cc_result ExtractPng(struct Stream* stream) { |
| 532 | struct Bitmap bmp; |
| 533 | cc_result res = Png_Decode(&bmp, stream); |
| 534 | if (!res && Atlas_TryChange(&bmp)) return 0; |
| 535 | |
| 536 | Mem_Free(bmp.scan0); |
| 537 | return res; |
| 538 | } |
| 539 | |
| 540 | static cc_bool needReload; |
| 541 | static cc_result ExtractFrom(struct Stream* stream, const cc_string* path) { |
no test coverage detected