| 348 | } |
| 349 | |
| 350 | void TextureD3D::DeleteSharedTextureGL(unsigned int name) |
| 351 | { |
| 352 | if (m_hInteropTarget) |
| 353 | wglDXUnregisterObjectNV(m_hInteropDevice, m_hInteropTarget); |
| 354 | m_hInteropTarget = nullptr; |
| 355 | if (m_hInteropDevice) |
| 356 | wglDXCloseDeviceNV(m_hInteropDevice); |
| 357 | m_hInteropDevice = nullptr; |
| 358 | glDeleteTextures(1, &name); |
| 359 | } |
nothing calls this directly
no outgoing calls
no test coverage detected