mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Replace 'reinterpret_cast' with 'static_cast'
This commit is contained in:
parent
53ede795a2
commit
6d44afc7dd
26 changed files with 31 additions and 36 deletions
|
@ -305,7 +305,7 @@ void DXTexture::Load(u32 level, u32 width, u32 height, u32 row_length, const u8*
|
|||
{
|
||||
const u8* src_ptr = buffer;
|
||||
const u32 copy_size = std::min(source_stride, upload_stride);
|
||||
u8* dst_ptr = reinterpret_cast<u8*>(upload_buffer_ptr);
|
||||
u8* dst_ptr = static_cast<u8*>(upload_buffer_ptr);
|
||||
for (u32 i = 0; i < num_rows; i++)
|
||||
{
|
||||
std::memcpy(dst_ptr, src_ptr, copy_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue