mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Readd mipmaps 'bug' in Image::expand_x2_hq2x, fixing it caused a regression
Fixes #22747.
This commit is contained in:
parent
ffe94ef4e2
commit
6a37f15e5a
@ -1198,7 +1198,9 @@ void Image::expand_x2_hq2x() {
|
||||
if (current != FORMAT_RGBA8)
|
||||
convert(current);
|
||||
|
||||
if (used_mipmaps) {
|
||||
// FIXME: This is likely meant to use "used_mipmaps" as defined above, but if we do,
|
||||
// we end up with a regression: GH-22747
|
||||
if (mipmaps) {
|
||||
generate_mipmaps();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user