OSDN Git Service

Fixed Vertex Array Objects
authorAlexis Hetu <sugoi@google.com>
Tue, 7 Nov 2017 16:47:53 +0000 (11:47 -0500)
committerAlexis Hétu <sugoi@google.com>
Tue, 7 Nov 2017 16:49:36 +0000 (16:49 +0000)
commit69bffb837b9deecf71447f5406a9dc083c708bc7
treeb1886983fdbad52345a1eb9bde7f9620830bedce
parent49351233859f99cdf4819a6fd1a67bec63709905
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/13549
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
src/OpenGL/libGLESv2/libGLESv3.cpp