diff options
author | Shinryuuji <shinryuuji2k@gmail.com> | 2018-12-20 12:35:22 +0100 |
---|---|---|
committer | Shinryuuji <shinryuuji2k@gmail.com> | 2018-12-20 12:35:22 +0100 |
commit | e24379e61f2d24994fcdb48a8ad236adbab43124 (patch) | |
tree | e6765dec48b8bf8796ebfccfd2bcb744f2da12f5 /scene | |
parent | d8067e905c031df9abe475c966fe389b03036036 (diff) |
Fix TextureLayered::create not retaining format
Diffstat (limited to 'scene')
-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; } |