summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexShaderManager.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2016-12-11 13:53:28 +0100
committerGitHub <noreply@github.com>2016-12-11 13:53:28 +0100
commit863aeb383a8b2aedc31f5aac79a72df6a80f3b33 (patch)
tree2a4f5612a7e25ed77f68d3691682dddb8d744047 /Source/Core/VideoCommon/VertexShaderManager.cpp
parent6ed462a05902e9e987025dedae2bfdd58c556b70 (diff)
parent8dcb05802b8f16e84169e4e3b64789707a939787 (diff)
Merge pull request #4509 from lioncash/assign
ShaderManagers: Use aggregate initialization for some variables.
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexShaderManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp
index aa7ea1c2a6..c7331fe446 100644
--- a/Source/Core/VideoCommon/VertexShaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexShaderManager.cpp
@@ -203,8 +203,8 @@ void VertexShaderManager::Init()
bProjectionChanged = true;
bViewportChanged = false;
- memset(&xfmem, 0, sizeof(xfmem));
- memset(&constants, 0, sizeof(constants));
+ xfmem = {};
+ constants = {};
ResetView();
// TODO: should these go inside ResetView()?