Skip to content

Commit

Permalink
Remove unused VertexArrayObject#unbind (mapbox#3241)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh authored Sep 23, 2016
1 parent cf60968 commit f3ad12b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions js/render/vertex_array_object.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,6 @@ VertexArrayObject.prototype.freshBind = function(gl, program, layoutVertexBuffer
gl.currentNumAttributes = numNextAttributes;
};

VertexArrayObject.prototype.unbind = function(gl) {
var ext = gl.extVertexArrayObject;
if (ext) {
ext.bindVertexArrayOES(null);
}
};

VertexArrayObject.prototype.destroy = function(gl) {
var ext = gl.extVertexArrayObject;
if (ext && this.vao) {
Expand Down

0 comments on commit f3ad12b

Please sign in to comment.