libobs-d3d11: Prefer ComPtr Clear() over Release()

master
jpark37 2021-09-14 21:17:33 -07:00 committed by Jim
parent 23f43f46db
commit 01b5571c47
1 changed files with 4 additions and 4 deletions

View File

@ -471,10 +471,10 @@ try {
context->ClearState();
context->Flush();
context.Release();
device.Release();
adapter.Release();
factory.Release();
context.Clear();
device.Clear();
adapter.Clear();
factory.Clear();
/* ----------------------------------------------------------------- */