Fix a few cases where surface format is still 32 bits
@@ -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;
};
@@ -301,7 +301,7 @@ class ArrayMesh : public Mesh {
private:
struct Surface {
int array_length = 0;
int index_array_length = 0;
PrimitiveType primitive = PrimitiveType::PRIMITIVE_MAX;