Commit 89c21ea8 by Corentin Wallez Committed by Commit Bot

InstancingTest: fix a stack overflow.

BUG=angleproject:1661 Change-Id: Iac7af4aed2782ab839922281d29f1a9861a334e3 Reviewed-on: https://chromium-review.googlesource.com/419758Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
parent a7d12dc7
...@@ -431,7 +431,7 @@ TEST_P(InstancingTestPoints, DrawElements) ...@@ -431,7 +431,7 @@ TEST_P(InstancingTestPoints, DrawElements)
GLint instancePosLoc = glGetAttribLocation(mProgram, "a_instancePos"); GLint instancePosLoc = glGetAttribLocation(mProgram, "a_instancePos");
// Load the vertex position // Load the vertex position
GLfloat pos[3] = {0, 0, 0}; Vector3 pos[] = {Vector3(0), Vector3(0), Vector3(0), Vector3(0)};
glVertexAttribPointer(positionLoc, 3, GL_FLOAT, GL_FALSE, 0, pos); glVertexAttribPointer(positionLoc, 3, GL_FLOAT, GL_FALSE, 0, pos);
glEnableVertexAttribArray(positionLoc); glEnableVertexAttribArray(positionLoc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment