diff options
| author | Fabio Alessandrelli | 2017-12-26 20:36:18 +0100 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-02-21 21:48:21 +0100 |
| commit | 8f231d82bb8acd5e7adc477db36702a48b73f8b2 (patch) | |
| tree | 8410026d6754f87d68e9364ea17c103557f4b609 | |
| parent | cc280545dc9f2c85df0141a04732836c708d55a0 (diff) | |
| download | godot-8f231d82bb8acd5e7adc477db36702a48b73f8b2.tar.gz godot-8f231d82bb8acd5e7adc477db36702a48b73f8b2.tar.zst godot-8f231d82bb8acd5e7adc477db36702a48b73f8b2.zip | |
Disable GLES builders and source from server compilation
(cherry picked from commit 8699f643c9b02bc804024f0b67dea80467bef91d)
| -rw-r--r-- | SConstruct | 2 | ||||
| -rw-r--r-- | drivers/SCsub | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct index 999eadee9..63229410f 100644 --- a/SConstruct +++ b/SConstruct @@ -445,7 +445,7 @@ if selected_platform in platform_list: if not env['verbose']: methods.no_verbose(sys, env) - if (True): # FIXME: detect GLES3 + if (not env["platform"] == "server"): # FIXME: detect GLES3 env.Append( BUILDERS = { 'GLES3_GLSL' : env.Builder(action = methods.build_gles3_headers, suffix = 'glsl.gen.h',src_suffix = '.glsl') } ) scons_cache_path = os.environ.get("SCONS_CACHE") diff --git a/drivers/SCsub b/drivers/SCsub index daa5ff623..fc017f489 100644 --- a/drivers/SCsub +++ b/drivers/SCsub @@ -22,8 +22,11 @@ if env['xaudio2']: SConscript("xaudio2/SCsub") # Graphics drivers -SConscript('gles3/SCsub') -SConscript('gl_context/SCsub') +if (env["platform"] != "server"): + SConscript('gles3/SCsub') + SConscript('gl_context/SCsub') +else: + SConscript('dummy/SCsub') # Core dependencies SConscript("png/SCsub") |
