From e2ccd174949e350103e343ee5ba0f49a0a47ff19 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Fri, 12 Nov 2021 11:20:22 +0100 Subject: [PATCH] Fix typo --- code/AssetLib/glTF2/glTF2Asset.inl | 1 + 1 file changed, 1 insertion(+) diff --git a/code/AssetLib/glTF2/glTF2Asset.inl b/code/AssetLib/glTF2/glTF2Asset.inl index 242553031..b570fc8e6 100644 --- a/code/AssetLib/glTF2/glTF2Asset.inl +++ b/code/AssetLib/glTF2/glTF2Asset.inl @@ -131,6 +131,7 @@ inline void CopyData(size_t count, const uint8_t *src, size_t src_stride, if (src_stride == dst_stride) { memcpy(dst, src, count * src_stride); return; + } size_t sz = std::min(src_stride, dst_stride); for (size_t i = 0; i < count; ++i) {