diff options
author | clayjohn <claynjohn@gmail.com> | 2023-10-11 14:56:19 -0600 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2023-10-11 14:56:19 -0600 |
commit | 1df50c78dfd609996c99d7852f49c391488200da (patch) | |
tree | 8dc2766b640c0b470a9c4d5dbdef103568cc5519 | |
parent | 9957f1ad4e24235a1266754bb8be9fbba5499141 (diff) | |
download | redot-engine-1df50c78dfd609996c99d7852f49c391488200da.tar.gz |
Fix a few cases where surface format is still 32 bits
-rw-r--r-- | scene/resources/immediate_mesh.h | 2 | ||||
-rw-r--r-- | scene/resources/mesh.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/immediate_mesh.h b/scene/resources/immediate_mesh.h index bf07c82a0c..8ff0ff3e6a 100644 --- a/scene/resources/immediate_mesh.h +++ b/scene/resources/immediate_mesh.h @@ -63,7 +63,7 @@ class ImmediateMesh : public Mesh { Ref<Material> 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 fd54b47b70..5233d75009 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; |