| 122 | } |
| 123 | |
| 124 | ImageAtlas::PackedImage ImageAtlas::addData(const unsigned char* data, int width, int height) { |
| 125 | Image image(data, width * height * 4, width, height); |
| 126 | image.raw = true; |
| 127 | return addImage(image, true); |
| 128 | } |
| 129 | |
| 130 | void ImageAtlas::resize() { |
| 131 | clearStaleImages(); |
no outgoing calls
no test coverage detected