diff --git a/scene/resources/immediate_mesh.h b/scene/resources/immediate_mesh.h index bf07c82a0c78..8ff0ff3e6a59 100644 --- a/scene/resources/immediate_mesh.h +++ b/scene/resources/immediate_mesh.h @@ -63,7 +63,7 @@ class ImmediateMesh : public Mesh { Ref material; bool vertex_2d = false; int array_len = 0; - uint32_t format = 0; + uint64_t format = 0; AABB aabb; }; diff --git a/scene/resources/mesh.h b/scene/resources/mesh.h index fd54b47b705e..5233d750097b 100644 --- a/scene/resources/mesh.h +++ b/scene/resources/mesh.h @@ -301,7 +301,7 @@ class ArrayMesh : public Mesh { private: struct Surface { - uint32_t format = 0; + uint64_t format = 0; int array_length = 0; int index_array_length = 0; PrimitiveType primitive = PrimitiveType::PRIMITIVE_MAX;