Commit 69bffb83 by Alexis Hetu Committed by Alexis Hétu

Fixed Vertex Array Objects

Fixed glBindVertexArray. The early return was wrong, binding vertex array 0 is perfectly valid. All related dEQP tests pass. Change-Id: Idd0ae745dc15877afb7c7323aab8253fb71e9017 Reviewed-on: https://swiftshader-review.googlesource.com/13549Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 49351233
......@@ -1647,11 +1647,6 @@ GL_APICALL void GL_APIENTRY glBindVertexArray(GLuint array)
{
TRACE("(GLuint array = %d)", array);
if(array == 0)
{
return;
}
es2::Context *context = es2::getContext();
if(context)
......
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