(bind-func unbind (lambda (tex:Texture* unit:i32) (glActiveTexture (+ GL_TEXTURE0 unit)) (glBindTexture GL_TEXTURE_2D 0) (gl_print_error "couldn't unbind texture") void))