Skip to content

Commit b223627

Browse files
committed
Fix type a_color to a_alpha
1 parent ad52606 commit b223627

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v3/src/renderer/webgl/batches/blitter/BlitterBatch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ BlitterBatch.prototype = {
8383
var attribArray = [
8484
CreateAttribDesc(gl, program, 'a_position', 2, gl.FLOAT, false, CONST.VERTEX_SIZE, 0),
8585
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)
86+
CreateAttribDesc(gl, program, 'a_alpha', 1, gl.FLOAT, false, CONST.VERTEX_SIZE, 16)
8787
];
8888

8989
var vertexArray = new VertexArray(CreateBuffer(gl, gl.ARRAY_BUFFER, gl.STREAM_DRAW, null, vertexDataBuffer.getByteCapacity()), attribArray);

0 commit comments

Comments
 (0)