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

Function deletePBO

cpp/0_Introduction/simpleCUDA2GL/main.cpp:178–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void deletePBO(GLuint *pbo)
179{
180 glDeleteBuffers(1, pbo);
181 SDK_CHECK_ERROR_GL();
182 *pbo = 0;
183}
184#endif
185
186const GLenum fbo_targets[] = {GL_COLOR_ATTACHMENT0_EXT,

Callers 1

FreeResourceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected