/* The X window visual must match the EGL config */
visTemplate.visualid = vid;
visInfo = XGetVisualInfo(data->xdpy, VisualIDMask, &visTemplate, &num_visuals);
if (!visInfo) {
printf("Error: couldn't get X visual\n");
exit(1);
}
Can anyone explain what is going on here so I can work out how we fix it? It doesn't make sense to me that eglGetConfigAttrib() succeeds but then you can't XGetVisualInfo on the returned data..
BTW I still can't confirm this benchmark breaks outside of our own test programs due to the "Error: couldn't get X Visual" error.
if (!eglGetConfigA ttrib(data- >dpy, config, EGL_NATIVE_ VISUAL_ ID, &vid)) { "Error: eglGetConfigAtt rib() failed\n");
printf(
exit(1);
}
/* The X window visual must match the EGL config */ visualid = vid; data->xdpy, VisualIDMask, &visTemplate, &num_visuals); "Error: couldn't get X visual\n");
visTemplate.
visInfo = XGetVisualInfo(
if (!visInfo) {
printf(
exit(1);
}
Can anyone explain what is going on here so I can work out how we fix it? It doesn't make sense to me that eglGetConfigAtt rib() succeeds but then you can't XGetVisualInfo on the returned data..