Kim Kulling 3 년 전
부모
커밋
e2ccd17494
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      code/AssetLib/glTF2/glTF2Asset.inl

+ 1 - 0
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) {