We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 06aa00a + 9f12923 commit bd10344Copy full SHA for bd10344
tests/OpenGLTest/OpenGLTest.js
@@ -960,7 +960,7 @@ var TexImage2DTest = OpenGLTestLayer.extend({
960
this.shader.setUniformsForBuiltins();
961
962
gl.bindTexture(gl.TEXTURE_2D, this.my_texture);
963
- cc.glEnableVertexAttribs( cc.VERTEX_ATTRIB_FLAG_TEXCOORDS | cc.VERTEX_ATTRIB_FLAG_POSITION);
+ cc.glEnableVertexAttribs( cc.VERTEX_ATTRIB_FLAG_TEX_COORDS | cc.VERTEX_ATTRIB_FLAG_POSITION);
964
965
// Draw fullscreen Square
966
gl.bindBuffer(gl.ARRAY_BUFFER, this.squareVertexPositionBuffer);
0 commit comments