diff options
| author | elasota <ejlasota@gmail.com> | 2018-08-26 20:22:56 -0400 |
|---|---|---|
| committer | elasota <ejlasota@gmail.com> | 2018-08-26 20:22:56 -0400 |
| commit | 30e20b6278b0a80e04fdee60637a9acd7bb0139d (patch) | |
| tree | c5670ba7205d357bcc783ebe032385575296611a /scene/resources/texture.cpp | |
| parent | f72f74486d3f07b2be0c6480c6c0d34edd47794f (diff) | |
| download | redot-engine-30e20b6278b0a80e04fdee60637a9acd7bb0139d.tar.gz | |
Partial fixes for 3D texture issues
Diffstat (limited to 'scene/resources/texture.cpp')
| -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 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<Image> &p_image, int p_layer) { |
