We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad52606 commit b223627Copy full SHA for b223627
1 file changed
v3/src/renderer/webgl/batches/blitter/BlitterBatch.js
@@ -83,7 +83,7 @@ BlitterBatch.prototype = {
83
var attribArray = [
84
CreateAttribDesc(gl, program, 'a_position', 2, gl.FLOAT, false, CONST.VERTEX_SIZE, 0),
85
CreateAttribDesc(gl, program, 'a_tex_coord', 2, gl.FLOAT, false, CONST.VERTEX_SIZE, 8),
86
- CreateAttribDesc(gl, program, 'a_color', 1, gl.FLOAT, false, CONST.VERTEX_SIZE, 16)
+ CreateAttribDesc(gl, program, 'a_alpha', 1, gl.FLOAT, false, CONST.VERTEX_SIZE, 16)
87
];
88
89
var vertexArray = new VertexArray(CreateBuffer(gl, gl.ARRAY_BUFFER, gl.STREAM_DRAW, null, vertexDataBuffer.getByteCapacity()), attribArray);
0 commit comments