mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
VideoCommon: Clean up class-memaccess warnings
This commit is contained in:
parent
dace56cb62
commit
8560eecd49
3 changed files with 14 additions and 8 deletions
|
@ -90,7 +90,7 @@ void SWVertexLoader::vFlush()
|
|||
for (u32 i = 0; i < IndexGenerator::GetIndexLen(); i++)
|
||||
{
|
||||
const u16 index = m_local_index_buffer[i];
|
||||
memset(&m_vertex, 0, sizeof(m_vertex));
|
||||
memset(static_cast<void*>(&m_vertex), 0, sizeof(m_vertex));
|
||||
|
||||
// Super Mario Sunshine requires those to be zero for those debug boxes.
|
||||
m_vertex.color = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue