From e24379e61f2d24994fcdb48a8ad236adbab43124 Mon Sep 17 00:00:00 2001 From: Shinryuuji Date: Thu, 20 Dec 2018 12:35:22 +0100 Subject: [PATCH] Fix TextureLayered::create not retaining format --- scene/resources/texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp index 4f4d375481b..a378c517ed6 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; }