]> git.tdb.fi Git - libs/gl.git/commitdiff
Always bind textures in a specific texture unit
authorMikko Rasa <tdb@tdb.fi>
Wed, 27 Nov 2013 21:23:33 +0000 (23:23 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 27 Nov 2013 21:51:00 +0000 (23:51 +0200)
This eliminates one level of global state, simplifying the API and
offering new optimization possibilities.  Since single-texturing is a
common use case, the parameterless bind/unbind functions have been left
in but changed to operate on unit 0.


No differences found