You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Fix surface from array creation
* The debug check was not updated to the new format. * Bug introduced by #50037
This commit is contained in:
@@ -2460,7 +2460,7 @@ void RendererStorageRD::mesh_add_surface(RID p_mesh, const RS::SurfaceData &p_su
|
||||
|
||||
} break;
|
||||
case RS::ARRAY_COLOR: {
|
||||
attrib_stride += sizeof(int16_t) * 4;
|
||||
attrib_stride += sizeof(uint32_t);
|
||||
} break;
|
||||
case RS::ARRAY_TEX_UV: {
|
||||
attrib_stride += sizeof(float) * 2;
|
||||
|
||||
Reference in New Issue
Block a user