Skip to content

Commit

Permalink
WebContent: Fix checking for accelerated graphics
Browse files Browse the repository at this point in the history
What matters here is whether or not we can use LibAccelGfx and OpenGL,
not whether the kernel is Linux.
  • Loading branch information
bugaevc authored and awesomekling committed Nov 8, 2023
1 parent 21b9467 commit 38a368c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Userland/Services/WebContent/PageHost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 38a368c

Please sign in to comment.