Function ccGLDeleteProgram

#include <Geode/cocos/shaders/ccGLStateCache.h>voidccGLDeleteProgram(
_::GLuintprogram
)

Since v2.0.0

Deletes the GL program. If it is the one that is being used, it invalidates it. If CC_ENABLE_GL_STATE_CACHE is disabled, it will the glDeleteProgram() directly.

Examples0