| Index: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
|
| index 84e495c83a8bab57ebcee4c571278082f274aee2..2f5fd1b14d28cc72d2cf4f2250a4585078da52a1 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
|
| @@ -2439,9 +2439,9 @@ void WebGL2RenderingContextBase::vertexAttribIPointer(GLuint index,
|
| }
|
| if (!validateValueFitNonNegInt32("vertexAttribIPointer", "offset", offset))
|
| return;
|
| - if (!m_boundArrayBuffer) {
|
| + if (!m_boundArrayBuffer && offset != 0) {
|
| synthesizeGLError(GL_INVALID_OPERATION, "vertexAttribIPointer",
|
| - "no bound ARRAY_BUFFER");
|
| + "no ARRAY_BUFFER is bound and offset is non-zero");
|
| return;
|
| }
|
|
|
|
|