Commit cd078c33 by Tim Van Patten Committed by Commit Bot

Allow mis-matched Android Context versions

Remove the EGL validation related to context version numbers since a backwards compatible context could be created and shared, causing a version mis-match. Test: angle_deqp_egl_tests Bug: angleproject:3243 Change-Id: Iae818433fea1b230b50aa47c14f084e9079c3583 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1592133 Commit-Queue: Tim Van Patten <timvp@google.com> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent 85da00fd
......@@ -1202,12 +1202,6 @@ Error ValidateCreateContext(Display *display,
{
return EglBadMatch();
}
if (shareContext->getClientMajorVersion() != clientMajorVersion ||
shareContext->getClientMinorVersion() != clientMinorVersion)
{
return EglBadContext();
}
}
return NoError();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment