Module: Mesa Branch: master Commit: a1662d0dabe0a0ed00375c2ab2a2771e178cfbaa URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1662d0dabe0a0ed00375c2ab2a2771e178cfbaa
Author: Emil Velikov <emil.veli...@collabora.com> Date: Thu Feb 9 13:35:47 2017 +0000 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.veli...@collabora.com> Reviewed-by: Matt Turner <matts...@gmail.com> --- 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 4d65bb1..b4fb47e 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, _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit