mirror of https://github.com/PCSX2/pcsx2.git
GS-d3d: Fix Wmissing-braces warnings.
This commit is contained in:
parent
1a5d7c1c5d
commit
11f3fecd11
|
@ -783,7 +783,7 @@ void GSDevice11::UpdateCLUTTexture(GSTexture* sTex, u32 offsetX, u32 offsetY, GS
|
||||||
u32 offsetX, offsetY, dOffset;
|
u32 offsetX, offsetY, dOffset;
|
||||||
u32 pad2;
|
u32 pad2;
|
||||||
};
|
};
|
||||||
const Uniforms cb = {sTex->GetScale().x, sTex->GetScale().y, 0.0f, 0.0f, offsetX, offsetY, dOffset};
|
const Uniforms cb = {sTex->GetScale().x, sTex->GetScale().y, {0.0f, 0.0f}, offsetX, offsetY, dOffset};
|
||||||
m_ctx->UpdateSubresource(m_merge.cb.get(), 0, nullptr, &cb, 0, 0);
|
m_ctx->UpdateSubresource(m_merge.cb.get(), 0, nullptr, &cb, 0, 0);
|
||||||
|
|
||||||
const GSVector4 dRect(0, 0, dSize, 1);
|
const GSVector4 dRect(0, 0, dSize, 1);
|
||||||
|
|
|
@ -530,7 +530,7 @@ void GSDevice12::UpdateCLUTTexture(GSTexture* sTex, u32 offsetX, u32 offsetY, GS
|
||||||
u32 offsetX, offsetY, dOffset;
|
u32 offsetX, offsetY, dOffset;
|
||||||
u32 pad2;
|
u32 pad2;
|
||||||
};
|
};
|
||||||
const Uniforms cb = {sTex->GetScale().x, sTex->GetScale().y, 0.0f, 0.0f, offsetX, offsetY, dOffset};
|
const Uniforms cb = {sTex->GetScale().x, sTex->GetScale().y, {0.0f, 0.0f}, offsetX, offsetY, dOffset};
|
||||||
SetUtilityPushConstants(&cb, sizeof(cb));
|
SetUtilityPushConstants(&cb, sizeof(cb));
|
||||||
|
|
||||||
const GSVector4 dRect(0, 0, dSize, 1);
|
const GSVector4 dRect(0, 0, dSize, 1);
|
||||||
|
|
Loading…
Reference in New Issue