mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 14:38:06 +02:00
vl: remove DRI2DriverPrimeShift compile guards
DRI2DriverPrimeShift was added in dri2proto-2.8, which we now require as of the previous commit. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
cd1ebd8aba
commit
a1662d0dab
1 changed files with 0 additions and 2 deletions
|
|
@ -363,7 +363,6 @@ vl_dri2_screen_create(Display *display, int screen)
|
|||
goto free_query;
|
||||
|
||||
driverType = XCB_DRI2_DRIVER_TYPE_DRI;
|
||||
#ifdef DRI2DriverPrimeShift
|
||||
{
|
||||
char *prime = getenv("DRI_PRIME");
|
||||
if (prime) {
|
||||
|
|
@ -375,7 +374,6 @@ vl_dri2_screen_create(Display *display, int screen)
|
|||
((primeid & DRI2DriverPrimeMask) << DRI2DriverPrimeShift);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
connect_cookie = xcb_dri2_connect_unchecked(scrn->conn,
|
||||
xcb_screen->root,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue