mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
initialize the uninitialized
This commit is contained in:
@ -150,6 +150,12 @@ void VertexShaderManager::Init()
|
||||
memset(&xfregs, 0, sizeof(xfregs));
|
||||
memset(xfmem, 0, sizeof(xfmem));
|
||||
ResetView();
|
||||
|
||||
// TODO: should these go inside ResetView()?
|
||||
Matrix44::LoadIdentity(s_viewportCorrection);
|
||||
memset(g_fProjectionMatrix, 0, sizeof(g_fProjectionMatrix));
|
||||
for (int i = 0; i < 4; ++i)
|
||||
g_fProjectionMatrix[i*5] = 1.0f;
|
||||
}
|
||||
|
||||
void VertexShaderManager::Shutdown()
|
||||
|
Reference in New Issue
Block a user