Kim Kulling %!s(int64=3) %!d(string=hai) anos
pai
achega
e2ccd17494
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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) {