mirror of
https://github.com/godotengine/godot
synced 2024-09-15 21:20:08 +00:00
Fix a few cases where surface format is still 32 bits
This commit is contained in:
parent
9957f1ad4e
commit
1df50c78df
|
@ -63,7 +63,7 @@ class ImmediateMesh : public Mesh {
|
||||||
Ref<Material> material;
|
Ref<Material> material;
|
||||||
bool vertex_2d = false;
|
bool vertex_2d = false;
|
||||||
int array_len = 0;
|
int array_len = 0;
|
||||||
uint32_t format = 0;
|
uint64_t format = 0;
|
||||||
AABB aabb;
|
AABB aabb;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -301,7 +301,7 @@ class ArrayMesh : public Mesh {
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct Surface {
|
struct Surface {
|
||||||
uint32_t format = 0;
|
uint64_t format = 0;
|
||||||
int array_length = 0;
|
int array_length = 0;
|
||||||
int index_array_length = 0;
|
int index_array_length = 0;
|
||||||
PrimitiveType primitive = PrimitiveType::PRIMITIVE_MAX;
|
PrimitiveType primitive = PrimitiveType::PRIMITIVE_MAX;
|
||||||
|
|
Loading…
Reference in a new issue