summaryrefslogtreecommitdiff
path: root/main/main.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 /main/main.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 'main/main.cpp')
-rw-r--r--main/main.cpp2
1 files changed, 1 insertions, 1 deletions
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 <uri> Remote debug (<protocol>://<host/IP>[:<port>], e.g. tcp://127.0.0.1:6007).\n");