diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-27 15:52:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 12:03:11 +0100 |
commit | 52f96abd8ba4323ff358f34683f9502ec24b9961 (patch) | |
tree | a199c439124bbda41edc585cc5e81463e190becb /modules/basis_universal/SCsub | |
parent | d5cf1a872bc71e638dabe38926f2ef1bfbea667e (diff) | |
parent | 3695c087829843b108bf55296d7dca39a08f135b (diff) |
Merge pull request #32389 from akien-mga/vulkan
Better format generated shader headers
Diffstat (limited to 'modules/basis_universal/SCsub')
-rw-r--r-- | modules/basis_universal/SCsub | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/basis_universal/SCsub b/modules/basis_universal/SCsub index b933e78de8..3e179762a5 100644 --- a/modules/basis_universal/SCsub +++ b/modules/basis_universal/SCsub @@ -3,7 +3,7 @@ Import('env') Import('env_modules') -env_bu = env_modules.Clone() +env_basisu = env_modules.Clone() # Thirdparty source files # Not unbundled so far since not widespread as shared library @@ -28,16 +28,16 @@ tool_sources = [ tool_sources = [thirdparty_dir + file for file in tool_sources] transcoder_sources = [thirdparty_dir + "transcoder/basisu_transcoder.cpp"] -env_bu.Append(CPPPATH=[thirdparty_dir, thirdparty_dir + "transcoder"]) +env_basisu.Append(CPPPATH=[thirdparty_dir, thirdparty_dir + "transcoder"]) if env['target'] == "debug": - env_bu.Append(CPPFLAGS=["-DBASISU_DEVEL_MESSAGES=1", "-DBASISD_ENABLE_DEBUG_FLAGS=1"]) + env_basisu.Append(CPPFLAGS=["-DBASISU_DEVEL_MESSAGES=1", "-DBASISD_ENABLE_DEBUG_FLAGS=1"]) -env_thirdparty = env_bu.Clone() +env_thirdparty = env_basisu.Clone() env_thirdparty.disable_warnings() if env['tools']: env_thirdparty.add_source_files(env.modules_sources, tool_sources) env_thirdparty.add_source_files(env.modules_sources, transcoder_sources) # Godot source files -env_bu.add_source_files(env.modules_sources, "*.cpp") +env_basisu.add_source_files(env.modules_sources, "*.cpp") |