src/graphics/gl-textures.js
function() {
        var t;
        for (var i = 0; i < this.bound_textures.length; i++) {
            t = this.bound_textures[i];
            t.unbind();
        }
        this.bound_textures = [];
        this.active = null;
    }
function() {
        var t;
        for (var i = 0; i < this.bound_textures.length; i++) {
            t = this.bound_textures[i];
            t.unbind();
        }
        this.bound_textures = [];
        this.active = null;
    }
function ( ) { var t ; for ( var i = 0 ; i < this . bound_textures . length ; i ++ ) { t = this . bound_textures [ i ] ; t . unbind ( ) ; } this . bound_textures = [ ] ; this . active = null ; }
Clear out the bound textures and other existing state
Clear out the bound textures and other existing state