ShaderManagers: Use aggregate initialization for some variables.

These provide the same semantics, however aggregate initialization
doesn't force the structs to be trivially copyable. memset, on the other
hand, does.
This commit is contained in:
Lioncash 2016-12-10 17:07:28 -05:00
commit 8dcb05802b
3 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ bool PixelShaderManager::dirty;
void PixelShaderManager::Init()
{
memset(&constants, 0, sizeof(constants));
constants = {};
// Init any intial constants which aren't zero when bpmem is zero.
s_bFogRangeAdjustChanged = true;