make sure initialized, prevent garbage data

This commit is contained in:
weihuoya 2021-06-22 15:15:33 +08:00
parent 324e88d6e0
commit b7f0e886d9

View file

@ -111,7 +111,7 @@ out gl_PerVertex {
}
PicaFSConfig PicaFSConfig::BuildFromRegs(const Pica::Regs& regs) {
PicaFSConfig res;
PicaFSConfig res{};
auto& state = res.state;