示例#1
0
文件: opengl.go 项目: skyview059/vu
func (gc *opengl) ReleaseFrame(fbo, tid, db uint32) {
	gl.DeleteFramebuffers(1, &fbo)
	gl.DeleteTextures(1, &tid)
	gl.DeleteRenderbuffers(1, &db)
}
示例#2
0
文件: opengl.go 项目: skyview059/vu
func (gc *opengl) ReleaseTexture(tid uint32) { gl.DeleteTextures(1, &tid) }