Compare commits

1 Commits

Author SHA1 Message Date
9febd03067 comment 2025-11-18 01:13:24 -05:00

View File

@@ -118,6 +118,7 @@ impl TextData {
let pos = (x as i32 + pos.left, y as i32 + pos.top);
if let Some(pixel) = pixels.get_mut(&pos) {
for i in 0..4 {
// TODO: no clue if proper alpha blending should be done
pixel[i] = color[i].saturating_add(pixel[i]);
}
} else {