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

Method DeleteSharedTextureGL

Revive/TextureVk.cpp:261–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void TextureVk::DeleteSharedTextureGL(unsigned int name)
262{
263 glDeleteMemoryObjectsEXT(1, &m_MemoryObject);
264 m_MemoryObject = 0;
265 glDeleteTextures(1, &name);
266 CloseHandle(m_hMemoryHandle);
267 m_hMemoryHandle = nullptr;
268}
269

Callers 1

SetTextureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected