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.
This commit is contained in:
Sergey Bugaev 2023-11-04 20:44:22 +03:00 committed by Andreas Kling
parent 21b946791e
commit 38a368c8f6

View file

@ -21,7 +21,7 @@
#include <WebContent/WebContentClientEndpoint.h>
#include <WebContent/WebDriverConnection.h>
#ifdef AK_OS_LINUX
#ifdef HAS_ACCELERATED_GRAPHICS
# include <LibWeb/Painting/PaintingCommandExecutorGPU.h>
#endif