From 222d62706eb59185ae1cc0db18ba73f8db0ba71a Mon Sep 17 00:00:00 2001 From: Andrea Bogazzi Date: Tue, 24 Apr 2018 11:20:40 +0200 Subject: [PATCH] fixed typo in filter --- src/filters/base_filter.class.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filters/base_filter.class.js b/src/filters/base_filter.class.js index 9248b4d98c4..f9e60a1dcec 100644 --- a/src/filters/base_filter.class.js +++ b/src/filters/base_filter.class.js @@ -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);