From e24379e61f2d24994fcdb48a8ad236adbab43124 Mon Sep 17 00:00:00 2001 From: Shinryuuji Date: Thu, 20 Dec 2018 12:35:22 +0100 Subject: Fix TextureLayered::create not retaining format --- scene/resources/texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene') 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; } -- cgit v1.2.3