Skip to content

Commit

Permalink
Merge pull request #50058 from reduz/fix-surface-from-arrays
Browse files Browse the repository at this point in the history
Fix surface from array creation
  • Loading branch information
reduz authored Jul 1, 2021
2 parents 97e041e + 8cf812f commit eefe276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/rendering/renderer_rd/renderer_storage_rd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eefe276

Please sign in to comment.