diff options
author | Julian Eisel <julian@blender.org> | 2021-01-29 16:13:30 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-01-29 16:13:30 +0300 |
commit | 75e8e01124082cf6d5dedcf6b8cab4e3ee31030e (patch) | |
tree | 286eb27d81ec7421f070494266fa10f5e89e7cae /source/creator | |
parent | b2e00e8f8e03d3ae4ca3ea9f66f90ee0a2d008f9 (diff) |
Fix wrong command line argument description for --debug--gpu-force-workarounds
Was using the same description as `--debug-gpumem`.
`--debug-gpu-shaders` actually has the same issue, but will be removed in the
next commit.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator_args.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index db63f8fbcfe..031bf06c085 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -980,6 +980,9 @@ static const char arg_handle_debug_mode_generic_set_doc_depsgraph_pretty[] = static const char arg_handle_debug_mode_generic_set_doc_gpumem[] = "\n\t" "Enable GPU memory stats in status bar."; +static const char arg_handle_debug_mode_generic_set_doc_gpu_force_workarounds[] = + "\n\t" + "Enable workarounds for typical GPU issues and disable all GPU extensions."; static int arg_handle_debug_mode_generic_set(int UNUSED(argc), const char **UNUSED(argv), @@ -2170,7 +2173,7 @@ void main_args_setup(bContext *C, bArgs *ba) BLI_args_add(ba, NULL, "--debug-gpu-force-workarounds", - CB_EX(arg_handle_debug_mode_generic_set, gpumem), + CB_EX(arg_handle_debug_mode_generic_set, gpu_force_workarounds), (void *)G_DEBUG_GPU_FORCE_WORKAROUNDS); BLI_args_add(ba, NULL, "--debug-exit-on-error", CB(arg_handle_debug_exit_on_error), NULL); |