dri2: add crocus to the list of va_gl users
This commit is contained in:
parent
9e82a674b5
commit
a7b0a7fabd
|
@ -1086,7 +1086,8 @@ ms_dri2_screen_init(ScreenPtr screen)
|
||||||
* guess that the DRI and VDPAU drivers have the same name.
|
* guess that the DRI and VDPAU drivers have the same name.
|
||||||
*/
|
*/
|
||||||
if (strcmp(driver_names[0], "i965") == 0 ||
|
if (strcmp(driver_names[0], "i965") == 0 ||
|
||||||
strcmp(driver_names[0], "iris") == 0) {
|
strcmp(driver_names[0], "iris") == 0 ||
|
||||||
|
strcmp(driver_names[0], "crocus") == 0) {
|
||||||
driver_names[1] = "va_gl";
|
driver_names[1] = "va_gl";
|
||||||
} else {
|
} else {
|
||||||
driver_names[1] = driver_names[0];
|
driver_names[1] = driver_names[0];
|
||||||
|
|
Loading…
Reference in New Issue