summaryrefslogtreecommitdiff
path: root/modules/gltf/gltf_texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gltf/gltf_texture.h')
-rw-r--r--modules/gltf/gltf_texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/gltf_texture.h b/modules/gltf/gltf_texture.h
index e1d0407fb4..4659725502 100644
--- a/modules/gltf/gltf_texture.h
+++ b/modules/gltf/gltf_texture.h
@@ -38,7 +38,7 @@ class GLTFTexture : public Resource {
GDCLASS(GLTFTexture, Resource);
private:
- GLTFImageIndex src_image;
+ GLTFImageIndex src_image = 0;
protected:
static void _bind_methods();