Apply viewport oversampling to Line2D

This commit is contained in:
Pāvels Nadtočajevs 2026-02-18 14:34:36 +02:00
parent c4a893e988
commit 4c0de4f538
No known key found for this signature in database
GPG key ID: 8413210218EF35D2

View file

@ -293,7 +293,7 @@ void Line2D::_draw() {
RID texture_rid;
if (_texture.is_valid()) {
texture_rid = _texture->get_rid();
texture_rid = _texture->get_scaled_rid();
lb.tile_aspect = _texture->get_size().aspect();
}