summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-08-27 10:12:39 -0300
committerGitHub <noreply@github.com>2018-08-27 10:12:39 -0300
commiteb25cd0737612c1dc03b3757b18cea85cb8afc74 (patch)
treef83f5cb5f5ba64dd2b8caf42f2b5e76e0c6f0a86 /scene
parent87725e891d71b7d429ef54f63312cbfebb7c660a (diff)
parentbca706b36138599e383c04fb502285bc97ca09bf (diff)
Merge pull request #21483 from godotengine/revert-21467-fix-3d-textures
Revert "Fix some 3D texture issues"
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp
index 1c082d9143..811e5c3d2c 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<Image> &p_image, int p_layer) {