Handle the new error case with VAOs introduced in GLES 3 involving a user VAO and non-null data pointers.
TRAC #23392
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
Authored-by: Jamie Madill
diff --git a/src/libGLESv2/Context.cpp b/src/libGLESv2/Context.cpp
index 2a4a2d3..5d7389a 100644
--- a/src/libGLESv2/Context.cpp
+++ b/src/libGLESv2/Context.cpp
@@ -659,6 +659,11 @@
return mState.renderbuffer.id();
}
+GLuint Context::getVertexArrayHandle() const
+{
+ return mState.vertexArray;
+}
+
GLuint Context::getArrayBufferHandle() const
{
return mState.arrayBuffer.id();