libobs-d3d11: Prefer ComPtr Clear() over Release()
This commit is contained in:
parent
23f43f46db
commit
01b5571c47
@ -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();
|
||||
|
||||
/* ----------------------------------------------------------------- */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user