summaryrefslogtreecommitdiff
path: root/main
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 /main
parent9221c0f8addbf2027ad3b1b4a4d7bdebaa6ab864 (diff)
Add a shader warning when the uniform buffer limit is exceeded
Diffstat (limited to 'main')
-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");