mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-09 06:14:43 +00:00
fixed typo in filter
This commit is contained in:
parent
18abedd960
commit
debf1ec069
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue