neteja clang-tidy
This commit is contained in:
@@ -702,7 +702,7 @@ namespace Rendering {
|
||||
return;
|
||||
}
|
||||
|
||||
std::memcpy(mapped, pixels, static_cast<size_t>(width * height * 4));
|
||||
std::memcpy(mapped, pixels, static_cast<size_t>(width) * height * 4);
|
||||
SDL_UnmapGPUTransferBuffer(device_, upload_buffer_);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user