LibGPU: Do not load LibSoftGPU via symlink inside Serenity

For unknown reasons, unveil() does not work on symlinks. This prevents
it from being used in an unveil environment such as WebContent.
This commit is contained in:
Luke Wilde 2022-06-04 04:01:52 +01:00 committed by Linus Groh
parent df2c0588ea
commit 7d1fcb0cb3
Notes: sideshowbarker 2024-07-17 10:16:20 +09:00

View file

@ -20,7 +20,7 @@ namespace GPU {
static HashMap<String, String> const s_driver_path_map
{
#if defined(__serenity__)
{ "softgpu", "libsoftgpu.so" },
{ "softgpu", "libsoftgpu.so.serenity" },
#elif defined(__APPLE__)
{ "softgpu", "./liblagom-softgpu.dylib" },
#else