Skip to content
Commit 46e102d9 authored by Emil Velikov's avatar Emil Velikov Committed by Juan A. Suarez Romero
Browse files

glx: mandate xf86vidmode only for "drm" dri platforms



Currently we have the three dri "platforms" - drm, apple and windows.

Since xf86vidmode is a thing only for the drm one, adjust the
preprocessor guards and correctly check for the dependency.

v2: terminate the GLX_USE_WINDOWSGL hunk

Cc: Jon TURNEY <jon.turney@dronecode.org.uk>
Fixes: 5bc50936 ("glx: make xf86vidmode mandatory for direct rendering")
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: default avatarDylan Baker <dylan@pnwbakers.com>
Acked-by: default avatarEric Engestrom <eric.engestrom@intel.com>
(cherry picked from commit a95ec138)
parent bff2986b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment