summaryrefslogtreecommitdiff
path: root/servers/audio_server.cpp
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2021-12-22 10:15:12 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2022-01-03 16:24:56 +0300
commitfd9c92d4ab32a908a69f6f7fadf65d77c43a6b54 (patch)
treef5d69fbc13e1a15d3c09fb7691e74f2cc6bb6d47 /servers/audio_server.cpp
parent9221c0f8addbf2027ad3b1b4a4d7bdebaa6ab864 (diff)
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);