cginternals / globjects

C++ library strictly wrapping OpenGL objects.
https://globjects.org
MIT License
539 stars 59 forks source link

Add unbindImageTexture #236

Closed j-o closed 10 years ago

j-o commented 10 years ago

The parameters level, layered, layer, access & format seem to be irrelevant for unbinding, according to the spec, but must be from valid ranges.

Also, remove unnecessary call to bind in bindImageTexture as the texture to bind is identified via its ID.