OSDN Git Service

Fixed element array buffer name crash
authorAlexis Hetu <sugoi@google.com>
Wed, 29 Apr 2015 15:28:28 +0000 (11:28 -0400)
committerAlexis Hétu <sugoi@google.com>
Wed, 29 Apr 2015 18:05:22 +0000 (18:05 +0000)
commitebe9bbdabc33bbc62b8262c3fcc5244901d6dc16
tree221930d5474b5607c22b2dd4f0cd472575f4ff52
parenteb195b6e8d98116d4cd9e6760a6a5621d77370e7
Fixed element array buffer name crash

Added missing NULL pointer check

Bug 20676373

Change-Id: Ia99cac8e6abb4157441d8ff1741b5d81981a1270
Reviewed-on: https://swiftshader-review.googlesource.com/3000
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
src/OpenGL/libGLESv2/Context.cpp
src/OpenGL/libGLESv2/Context.h