Fix textures converting when cooking
This commit is contained in:
@@ -361,6 +361,7 @@ protected:
|
||||
if (!_streamingTexture->GetOwner()->GetMipDataCustomPitch(absoluteMipIndex, rowPitch, slicePitch))
|
||||
texture->ComputePitch(_mipIndex, rowPitch, slicePitch);
|
||||
_data.Link(data);
|
||||
ASSERT(data.Length() >= slicePitch * arraySize);
|
||||
|
||||
// Update all array slices
|
||||
const byte* dataSource = data.Get();
|
||||
|
||||
Reference in New Issue
Block a user