MCPcopy Create free account
hub / github.com/LibreVR/Revive / DeleteSharedTextureGL

Method DeleteSharedTextureGL

Revive/TextureD3D.cpp:350–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350void 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected