Skip to content

Commit bd10344

Browse files
committed
Merge pull request #312 from dingpinglv/Iss311_RestoreOpenGLTest
Fixed #311: This isn't a typo in OpenGLTest.js, it's my mistake.
2 parents 06aa00a + 9f12923 commit bd10344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/OpenGLTest/OpenGLTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ var TexImage2DTest = OpenGLTestLayer.extend({
960960
this.shader.setUniformsForBuiltins();
961961

962962
gl.bindTexture(gl.TEXTURE_2D, this.my_texture);
963-
cc.glEnableVertexAttribs( cc.VERTEX_ATTRIB_FLAG_TEXCOORDS | cc.VERTEX_ATTRIB_FLAG_POSITION);
963+
cc.glEnableVertexAttribs( cc.VERTEX_ATTRIB_FLAG_TEX_COORDS | cc.VERTEX_ATTRIB_FLAG_POSITION);
964964

965965
// Draw fullscreen Square
966966
gl.bindBuffer(gl.ARRAY_BUFFER, this.squareVertexPositionBuffer);

0 commit comments

Comments
 (0)