From fd9c92d4ab32a908a69f6f7fadf65d77c43a6b54 Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Wed, 22 Dec 2021 10:15:12 +0300 Subject: Add a shader warning when the uniform buffer limit is exceeded --- servers/audio_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servers/audio_server.cpp') 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 &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); -- cgit v1.2.3