diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-03-15 18:52:54 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-03-15 18:53:48 +0300 |
commit | fce0ff0a3134579f5084f8ae61bec3599cc09db1 (patch) | |
tree | c5012f3c41ff0edc9c0c064b39c8ff0d133e466e /source/creator/creator_args.c | |
parent | 8892c7869e2310eb0299049708e3b1275632fb27 (diff) |
OpenGL: remove non-GLSL option from basic shader
This code path was only used when Blender was launched with --enable-legacy-basic-shader at the command line.
Part of general OpenGL upgrade (T49165)
Diffstat (limited to 'source/creator/creator_args.c')
-rw-r--r-- | source/creator/creator_args.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index f05dc59875f..3850846b0b9 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -1182,16 +1182,6 @@ static int arg_handle_threads_set(int argc, const char **argv, void *UNUSED(data } } -static const char arg_handle_basic_shader_use_legacy_doc[] = -"\n\tUse legacy (non-GLSL) basic shader" -; -static int arg_handle_basic_shader_use_legacy(int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) -{ - printf("Using legacy (non-GLSL) basic shader.\n"); - GPU_basic_shader_use_glsl_set(false); - return 0; -} - static const char arg_handle_verbosity_set_doc[] = "<verbose>\n" "\tSet logging verbosity level." @@ -1829,8 +1819,6 @@ void main_args_setup(bContext *C, bArgs *ba, SYS_SystemHandle *syshandle) BLI_argsAdd(ba, 1, NULL, "--debug-gpumem", CB_EX(arg_handle_debug_mode_generic_set, gpumem), (void *)G_DEBUG_GPU_MEM); - BLI_argsAdd(ba, 1, NULL, "--enable-legacy-basic-shader", CB(arg_handle_basic_shader_use_legacy), NULL); - BLI_argsAdd(ba, 1, NULL, "--verbose", CB(arg_handle_verbosity_set), NULL); BLI_argsAdd(ba, 1, NULL, "--factory-startup", CB(arg_handle_factory_startup_set), NULL); |