improve windows debug conformity

This commit is contained in:
2024-05-28 22:38:52 +02:00
parent 2d4729a877
commit ba7188cf66
8 changed files with 9 additions and 10 deletions

View File

@@ -78,7 +78,7 @@ ImageLoaderWebP::ImageResult ImageLoaderWebP::loadFromMemoryRGBA(const uint8_t*
auto& new_frame = res.frames.emplace_back();
new_frame.ms = timestamp-prev_timestamp;
prev_timestamp = timestamp;
new_frame.data.insert(new_frame.data.end(), buf, buf+(res.width*res.height*4));
new_frame.data = {buf, buf+(res.width*res.height*4)};
}
assert(anim_info.frame_count == res.frames.size());