mirror of
https://github.com/godotengine/godot.git
synced 2025-01-30 21:33:18 +08:00
Merge pull request #24502 from Shinryuuji/fix-texturelayered-format
Fix TextureLayered::create not retaining format
This commit is contained in:
commit
25b98e4842
@ -2067,7 +2067,7 @@ void TextureLayered::create(uint32_t p_width, uint32_t p_height, uint32_t p_dept
|
|||||||
width = p_width;
|
width = p_width;
|
||||||
height = p_height;
|
height = p_height;
|
||||||
depth = p_depth;
|
depth = p_depth;
|
||||||
|
format = p_format;
|
||||||
flags = p_flags;
|
flags = p_flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user