MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / deleteTexture

Function deleteTexture

cpp/5_Domain_Specific/postProcessGL/main.cpp:643–649  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

641//!
642////////////////////////////////////////////////////////////////////////////////
643void deleteTexture(GLuint *tex)
644{
645 glDeleteTextures(1, tex);
646 SDK_CHECK_ERROR_GL();
647
648 *tex = 0;
649}
650
651////////////////////////////////////////////////////////////////////////////////
652//!

Callers 3

FreeResourceFunction · 0.70
cleanupFunction · 0.50
cleanupFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected