summaryrefslogtreecommitdiff
path: root/servers/audio_server.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-03 17:43:05 +0100
committerGitHub <noreply@github.com>2022-01-03 17:43:05 +0100
commitde066d56a2304b51d8a36e175c565bb7f7f1b11b (patch)
tree4796f639af298ce3744bee4e478aa6347a37f9e1 /servers/audio_server.cpp
parent1032c2c434ec882905b1ab2426d8ce3043dd6958 (diff)
parentfd9c92d4ab32a908a69f6f7fadf65d77c43a6b54 (diff)
Merge pull request #56153 from Chaosus/shader_uniform_limit_warning
Add a shader warning when the uniform buffer limit is exceeded
Diffstat (limited to 'servers/audio_server.cpp')
-rw-r--r--servers/audio_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/audio_server.cpp b/servers/audio_server.cpp
index f7c8f0921c..4d5f215bea 100644
--- a/servers/audio_server.cpp
+++ b/servers/audio_server.cpp
@@ -1591,7 +1591,7 @@ void AudioServer::set_bus_layout(const Ref<AudioBusLayout> &p_bus_layout) {
Bus::Effect bfx;
bfx.effect = fx;
bfx.enabled = p_bus_layout->buses[i].effects[j].enabled;
-#if DEBUG_ENABLED
+#ifdef DEBUG_ENABLED
bfx.prof_time = 0;
#endif
bus->effects.push_back(bfx);