初版网页

This commit is contained in:
2026-08-10 21:05:36 +08:00
parent cfc0849081
commit f50e9f7c1e
19 changed files with 1697 additions and 16 deletions
+1 -3
View File
@@ -164,12 +164,10 @@ void Blend2D_Color_Cache::composite(const ::Color_Cache& source) {
if (typed.image_.is_empty())
return;
const Size source_size = typed.size();
if (image_.is_empty()) {
if (image_.is_empty() || size() != source_size) {
ensure_size(source_size);
clear_image(image_);
}
if (size() != source_size)
return;
BLContext context(image_);
if (!context)