Skip to content

Commit

Permalink
fixed typo in filter
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur committed Apr 24, 2018
1 parent 5df4b99 commit 222d627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filters/base_filter.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ fabric.Image.filters.BaseFilter = fabric.util.createClass(/** @lends fabric.Imag
* @param {Object} attributeLocations A map of shader attribute names to their locations.
*/
sendAttributeData: function(gl, attributeLocations, aPositionData) {
var attributeLocation = attributeLocations.aPostion;
var attributeLocation = attributeLocations.aPosition;
var buffer = gl.createBuffer();
gl.bindBuffer(gl.ARRAY_BUFFER, buffer);
gl.enableVertexAttribArray(attributeLocation);
Expand Down

0 comments on commit 222d627

Please sign in to comment.