From: Emil Velikov <[email protected]> Macro will always be defined as of earlier commit.
Signed-off-by: Emil Velikov <[email protected]> --- src/gallium/auxiliary/vl/vl_winsys_dri.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri.c b/src/gallium/auxiliary/vl/vl_winsys_dri.c index 4d65bb1a1e..b4fb47ea8e 100644 --- a/src/gallium/auxiliary/vl/vl_winsys_dri.c +++ b/src/gallium/auxiliary/vl/vl_winsys_dri.c @@ -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, -- 2.11.0 _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
