Bug 1364169 - On ANGLE context creation asks for robustness but does not get it. r=jgilbert

--HG--
extra : rebase_source : a5233c815aa7e7b0f794c403e85d790478affee8
This commit is contained in:
Samuel Vargas 2017-05-11 12:48:00 -04:00
Родитель 060e591797
Коммит e6e5dce84e
1 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

@ -157,8 +157,16 @@ gl::Version GetClientVersion(const egl::AttributeMap &attribs)
GLenum GetResetStrategy(const egl::AttributeMap &attribs)
{
EGLAttrib attrib = attribs.get(EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT,
EGL_NO_RESET_NOTIFICATION_EXT);
EGLAttrib attrib = attribs.get(EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR, 0);
if (!attrib)
{
attrib = attribs.get(EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT, 0);
}
if (!attrib)
{
attrib = EGL_NO_RESET_NOTIFICATION;
}
switch (attrib)
{
case EGL_NO_RESET_NOTIFICATION: