It was assumed that the presence of the EGL_PRESENT_OPAQUE_EXT enum in the surface attribute list meant that the alpha channel should be ignored as if it was always followed by a value of EGL_TRUE, however, according to the spec, valid usage allows for a value of EGL_FALSE as well, which should result in the alpha channel being used for blending.
Validate and use the value instead of assuming that the presence of the extension enum value implies that it is enabled.
It was assumed that the presence of the EGL_PRESENT_OPAQUE_EXT enum in the surface attribute list meant that the alpha channel should be ignored as if it was always followed by a value of EGL_TRUE, however, according to the spec, valid usage allows for a value of EGL_FALSE as well, which should result in the alpha channel being used for blending.
Validate and use the value instead of assuming that the presence of the extension enum value implies that it is enabled.