mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
VideoCommon: Clean up class-memaccess warnings
This commit is contained in:
@ -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 = {};
|
||||
|
Reference in New Issue
Block a user