diff options
author | 2023-09-28 17:24:59 +0200 | |
---|---|---|
committer | 2023-09-29 01:24:59 +1000 | |
commit | 117c384d4ac65c06481f7a0631051c8ba273c0b5 (patch) | |
tree | 9aa97bb580be3bc24c50ceaa7a1463f2fbae4db7 /scripts/src/3rdparty.lua | |
parent | 80155dfa8c8fd3ebcdb304ab97e967d276014f74 (diff) |
render/drawbgfx.cpp: Added initial support for Wayland on Linux. (#11451)
Diffstat (limited to 'scripts/src/3rdparty.lua')
-rwxr-xr-x | scripts/src/3rdparty.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 7b80101e973..dacb3a298ac 100755 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -1469,6 +1469,11 @@ end "BGFX_CONFIG_RENDERER_OPENGL=0", } end + if _OPTIONS["USE_WAYLAND"]=="1" then + defines { + "WL_EGL_PLATFORM=1", + } + end end if _OPTIONS["targetos"]=="macosx" and _OPTIONS["gcc"]~=nil then |