From 30e20b6278b0a80e04fdee60637a9acd7bb0139d Mon Sep 17 00:00:00 2001 From: elasota Date: Sun, 26 Aug 2018 20:22:56 -0400 Subject: Partial fixes for 3D texture issues --- scene/resources/texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/resources/texture.cpp') diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp index 811e5c3d2c..1c082d9143 100644 --- a/scene/resources/texture.cpp +++ b/scene/resources/texture.cpp @@ -2051,8 +2051,8 @@ void TextureLayered::create(uint32_t p_width, uint32_t p_height, uint32_t p_dept width = p_width; height = p_height; depth = p_depth; - flags = p_flags; + format = p_format; } void TextureLayered::set_layer_data(const Ref &p_image, int p_layer) { -- cgit v1.2.3