From 38a368c8f6aa3831db35374eb0e2488b9191fcf8 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Sat, 4 Nov 2023 20:44:22 +0300 Subject: [PATCH] WebContent: Fix checking for accelerated graphics What matters here is whether or not we can use LibAccelGfx and OpenGL, not whether the kernel is Linux. --- Userland/Services/WebContent/PageHost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Services/WebContent/PageHost.cpp b/Userland/Services/WebContent/PageHost.cpp index 29d96dc35f..83bf434c75 100644 --- a/Userland/Services/WebContent/PageHost.cpp +++ b/Userland/Services/WebContent/PageHost.cpp @@ -21,7 +21,7 @@ #include #include -#ifdef AK_OS_LINUX +#ifdef HAS_ACCELERATED_GRAPHICS # include #endif