diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-12-20 19:13:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-20 19:13:23 +0100 |
commit | 25b98e4842b910c07cfa95a797ac9bf43e7bfd94 (patch) | |
tree | 76751872601418ace9499dc91806720f7e67760b | |
parent | 123710123de4584626c48eff665e9b16eba758fc (diff) | |
parent | e24379e61f2d24994fcdb48a8ad236adbab43124 (diff) |
Merge pull request #24502 from Shinryuuji/fix-texturelayered-format
Fix TextureLayered::create not retaining format
-rw-r--r-- | scene/resources/texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp index 4f4d375481..a378c517ed 100644 --- a/scene/resources/texture.cpp +++ b/scene/resources/texture.cpp @@ -2067,7 +2067,7 @@ void TextureLayered::create(uint32_t p_width, uint32_t p_height, uint32_t p_dept width = p_width; height = p_height; depth = p_depth; - + format = p_format; flags = p_flags; } |