Skip to content
Snippets Groups Projects
Commit 33dd3b9d authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5595753 from fb065fe0 to qt-release

Change-Id: I788af55ac4c63b54367083c03b22febf800ca184
parents c37a9596 fb065fe0
No related branches found
No related tags found
No related merge requests found
......@@ -920,7 +920,11 @@ __eglMustCastToProperFunctionPointerType eglGetProcAddress(const char *procname)
const char* eglQueryString(EGLDisplay dpy, EGLint name)
{
VALIDATE_DISPLAY_INIT(dpy, NULL);
// EGL_BAD_DISPLAY is generated if display is not an EGL display connection, unless display is
// EGL_NO_DISPLAY and name is EGL_EXTENSIONS.
if (dpy || name != EGL_EXTENSIONS) {
VALIDATE_DISPLAY_INIT(dpy, NULL);
}
return s_display.queryString(name);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment