DescriptionAdd 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:
Committed: https://skia.googlesource.com/skia/+/bb25e44593ff9c318d9fe1dbb5cf30bc2b89eb76
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|