1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 10:07:35 +00:00

Meta: Support GPU painting in the GN build

This commit is contained in:
Timothy Flynn 2023-12-01 12:45:05 -05:00 committed by Tim Flynn
parent 8fc5c8b7df
commit 8504d8f588
4 changed files with 12 additions and 1 deletions

View file

@ -7,12 +7,16 @@ shared_library("LibAccelGfx") {
"//Userland/Libraries/LibCore",
"//Userland/Libraries/LibGfx",
]
if (current_os == "linux") {
libs = [
"GL",
"EGL",
]
} else if (current_os == "mac") {
frameworks = [ "OpenGL.framework" ]
}
sources = [
"Canvas.h",
"Context.cpp",