go-gl-legacy / gl

Go bindings for OpenGL
BSD 3-Clause "New" or "Revised" License
342 stars 52 forks source link

Fix code design for the program type #147

Closed tbruyelle closed 10 years ago

tbruyelle commented 10 years ago

As discussed in #143, it's better to attach the Unuse() function to the type, even if it doesn't use it, rather than a standalone function like before (programUnuse())