OSDN Git Service

Silently ignore attempts to delete default VAO.
authorNicolas Capens <capn@google.com>
Thu, 27 Sep 2018 17:54:27 +0000 (13:54 -0400)
committerNicolas Capens <nicolascapens@google.com>
Fri, 28 Sep 2018 14:27:50 +0000 (14:27 +0000)
commit56eacf05131ca5b544d207f56e56f3be5e09c653
tree3761250b8323016134370bdbb3fcd86fa09c782d
parent8c5ca8d1a7ea9e92ce447ee35cde0bbe044051c8
Silently ignore attempts to delete default VAO.

The spec for glDeleteVertexArrays states that "Unused names in arrays
are silently ignored, as is the value zero."

b/116699321

Change-Id: I7cca0336dd9841b360f8fa20f6c0ac9677ec3ce1
Reviewed-on: https://swiftshader-review.googlesource.com/21048
Reviewed-by: Chris Forbes <chrisforbes@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
src/OpenGL/libGLESv2/libGLESv2.cpp
src/OpenGL/libGLESv2/libGLESv3.cpp