libobs-d3d11: Avoid temporary ComPtr objects
The ternary operator promotes both sides to the same type if possible, so it created and destroyed a temporary ComPtr. Found by PVS Studio.
Showing
想要评论请 注册 或 登录
从无法访问的项目Fork
The ternary operator promotes both sides to the same type if possible, so it created and destroyed a temporary ComPtr. Found by PVS Studio.