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

Function deleteDepthBuffer

cpp/5_Domain_Specific/postProcessGL/main.cpp:695–701  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

693//!
694////////////////////////////////////////////////////////////////////////////////
695void deleteDepthBuffer(GLuint *depth)
696{
697 glDeleteRenderbuffersEXT(1, depth);
698 SDK_CHECK_ERROR_GL();
699
700 *depth = 0;
701}
702
703////////////////////////////////////////////////////////////////////////////////
704//!

Callers 1

FreeResourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected