aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skpinfo.cpp
diff options
context:
space:
mode:
authorGravatar joakim.landberg <joakim.landberg@intel.com>2014-12-01 06:46:01 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-01 06:46:01 -0800
commitbb25e44593ff9c318d9fe1dbb5cf30bc2b89eb76 (patch)
tree0108a45ec371d22d580c4cf5f784d41a4253043c /tools/skpinfo.cpp
parent8a2198a56bc2e5130295453cb1e3039ca876d200 (diff)
Add extra safety check to the EGL context setup.
Adds a check to make sure eglChooseConfig actually found a valid config. Besides checking for EGL errors, we also have to handle the case when no matching configs are found, i.e when num_config is 0. BUG=skia: Review URL: https://codereview.chromium.org/762113003
Diffstat (limited to 'tools/skpinfo.cpp')
0 files changed, 0 insertions, 0 deletions