summaryrefslogtreecommitdiff
path: root/platform/osx/SCsub
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2019-07-12 16:18:30 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2020-02-11 11:57:34 +0100
commitb456bfad5cee3922f55621bf7c133cc67337636a (patch)
treed3c77c49894591ea67dac3ad1551e9f36206b9c1 /platform/osx/SCsub
parenteb48be51dbe97aa4fbbbe0d0ebd8a98bee6b263e (diff)
Add runtime GLES2 / Vulkan context selection.
Diffstat (limited to 'platform/osx/SCsub')
-rw-r--r--platform/osx/SCsub5
1 files changed, 2 insertions, 3 deletions
diff --git a/platform/osx/SCsub b/platform/osx/SCsub
index 2632c4f032..09f213cb0e 100644
--- a/platform/osx/SCsub
+++ b/platform/osx/SCsub
@@ -13,11 +13,10 @@ files = [
'dir_access_osx.mm',
'joypad_osx.cpp',
'power_osx.cpp',
+ 'vulkan_context_osx.mm',
+ 'context_gl_osx.mm'
]
-if (env["renderer"] == "vulkan"):
- files += ['vulkan_context_osx.mm']
-
prog = env.add_program('#bin/godot', files)
if (env["debug_symbols"] == "full" or env["debug_symbols"] == "yes") and env["separate_debug_symbols"]: