Replace 'reinterpret_cast' with 'static_cast'
This commit is contained in:
1 parent
53ede795a2
commit
6d44afc7dd
26 files changed
+31
-36
No files matched your search
@@ -327,7 +327,7 @@ bool DXStagingTexture::Map()
|
||||
if (FAILED(hr))
|
||||
return false;
|
||||
|
||||
m_map_pointer = reinterpret_cast<char*>(sr.pData);
|
||||
m_map_pointer = static_cast<char*>(sr.pData);
|
||||
m_map_stride = sr.RowPitch;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user