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 --- main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/main.cpp') diff --git a/main/main.cpp b/main/main.cpp index 9b7f960660..bd9eba3d28 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -350,7 +350,7 @@ void Main::print_help(const char *p_binary) { OS::get_singleton()->print(" -b, --breakpoints Breakpoint list as source::line comma-separated pairs, no spaces (use %%20 instead).\n"); OS::get_singleton()->print(" --profiling Enable profiling in the script debugger.\n"); OS::get_singleton()->print(" --vk-layers Enable Vulkan Validation layers for debugging.\n"); -#if DEBUG_ENABLED +#ifdef DEBUG_ENABLED OS::get_singleton()->print(" --gpu-abort Abort on GPU errors (usually validation layer errors), may help see the problem if your system freezes.\n"); #endif OS::get_singleton()->print(" --remote-debug Remote debug (://[:], e.g. tcp://127.0.0.1:6007).\n"); -- cgit v1.2.3