Skip to content
Snippets Groups Projects
Commit fb065fe0 authored by Yahan Zhou's avatar Yahan Zhou
Browse files

Fix eglQueryString

BUG: 131917822
Test: cts-tradefed run cts -m CtsDeqpTestCases -t dEQP-EGL.functional.choose_config.simple*
Change-Id: Idc82f469c606009eb0ace6f33ad9524b4a70877d
parent d50251d8
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)
{
// 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.
Please register or to comment