File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ CProxyDirect3D9::~CProxyDirect3D9()
137137/* ** IUnknown methods ***/
138138HRESULT CProxyDirect3D9::QueryInterface (REFIID riid, void ** ppvObj)
139139{
140- if (!m_pDevice || !IsValidComInterfacePointer (m_pDevice, ComPtrValidation::ValidationMode::ForceRefresh ))
140+ if (!m_pDevice || !IsValidComInterfacePointer (m_pDevice))
141141 {
142142 SString message;
143143 message.Format (" CProxyDirect3D9::QueryInterface rejected invalid IDirect3D9 pointer %p" , m_pDevice);
@@ -156,7 +156,7 @@ ULONG CProxyDirect3D9::AddRef()
156156
157157 if (m_pDevice)
158158 {
159- if (IsValidComInterfacePointer (m_pDevice, ComPtrValidation::ValidationMode::ForceRefresh ))
159+ if (IsValidComInterfacePointer (m_pDevice))
160160 {
161161 m_pDevice->AddRef ();
162162 }
@@ -185,7 +185,7 @@ ULONG CProxyDirect3D9::Release()
185185
186186 if (m_pDevice && lNewRefCount > 0 )
187187 {
188- if (IsValidComInterfacePointer (m_pDevice, ComPtrValidation::ValidationMode::ForceRefresh ))
188+ if (IsValidComInterfacePointer (m_pDevice))
189189 {
190190 m_pDevice->Release ();
191191 }
You can’t perform that action at this time.
0 commit comments