Fix uninitialized values and release COM resources after use

This commit is contained in:
GoaLitiuM
2022-03-17 21:06:33 +02:00
committed by Ari Vuollet
parent e794911755
commit 33fe5e7518
3 changed files with 4 additions and 0 deletions

View File

@@ -275,6 +275,7 @@ bool GPUDeviceDX11::Init()
{
AllowTearing = true;
}
factory5->Release();
}
}