make sure initialized, prevent garbage data

master
weihuoya 2021-06-22 15:15:33 +07:00
parent 324e88d6e0
commit b7f0e886d9
1 changed files with 1 additions and 1 deletions

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