| Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| index 51e311d30217cd72e6429c1d5349f38924243d84..36a1f54d54e4e1964d84cf1e268faba6ee422889 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| @@ -6112,9 +6112,9 @@ void WebGLRenderingContextBase::vertexAttribPointer(GLuint index,
|
| }
|
| if (!validateValueFitNonNegInt32("vertexAttribPointer", "offset", offset))
|
| return;
|
| - if (!m_boundArrayBuffer) {
|
| + if (!m_boundArrayBuffer && offset != 0) {
|
| synthesizeGLError(GL_INVALID_OPERATION, "vertexAttribPointer",
|
| - "no bound ARRAY_BUFFER");
|
| + "no ARRAY_BUFFER is bound and offset is non-zero");
|
| return;
|
| }
|
|
|
|
|