Skip to content
Commit f8f202bc authored by Eric Engestrom's avatar Eric Engestrom Committed by Emil Velikov
Browse files

egl: let each platform decided how to handle LIBGL_ALWAYS_SOFTWARE



My refactor in 47273d73 missed this early return; because
of it, setting UseFallback one layer above actually prevented the
software path from being used.

Remove this early return and let each platform's dri2_initialize_*()
decide what it can do with the LIBGL_ALWAYS_SOFTWARE restriction.

platform_{surfaceless,x11,wayland} were already handling it themselves.

Fixes: 47273d73 "egl: set UseFallback if LIBGL_ALWAYS_SOFTWARE is set"
Signed-off-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reported-by: default avatarBrendan King <Brendan.King@imgtec.com>
(cherry picked from commit 2f421651)
parent 1a7af354
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