Skip to content

Commit dae9c10

Browse files
committed
replace WebGLPipeline.Attribute by module Attribute
1 parent 0df61f3 commit dae9c10

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

v3/src/renderer/webgl/utils/CreateAttribArray.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
var Attribute = require('./Attribute');
2+
13
var CreateAttribArray = function (gl, program, attributeDescArray)
24
{
35
var attributes = [];
46
for (var index = 0, length = attributeDescArray.length; index < length; ++index)
57
{
68
var desc = attributeDescArray[index];
7-
attributes.push(new WebGLPipeline.Attribute(
9+
attributes.push(new Attribute(
810
gl.getAttribLocation(program, desc.name),
911
desc.size,
1012
desc.type,

0 commit comments

Comments
 (0)