Commit 1457209a authored by Kyle Brenneman's avatar Kyle Brenneman
Browse files

Merge branch 'vendordev' into 'master'

egl: use device dispatch if at least one vendor suceeds

See merge request glvnd/libglvnd!235
parents acc65445 a527411d
......@@ -276,7 +276,9 @@ static EGLBoolean AddVendorDevices(__EGLvendorInfo *vendor)
}
if (!vendor->staticDispatch.queryDevicesEXT(0, NULL, &count)) {
return EGL_FALSE;
// Even if this vendor fails, we can still return the devices from any
// other vendors
return EGL_TRUE;
}
if (count <= 0) {
return EGL_TRUE;
......
Supports Markdown
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