From d6682af7864370d896156ffd49e39219b16e5f2a Mon Sep 17 00:00:00 2001 From: Miguel Pozo Date: Wed, 19 Feb 2025 17:08:38 +0100 Subject: [PATCH] Fix: Compiler warnings on Mac Caused by #133557 Pull Request: https://projects.blender.org/blender/blender/pulls/134776 --- source/creator/creator_args.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/creator/creator_args.cc b/source/creator/creator_args.cc index b64de841eb9..6bdcbb75c0a 100644 --- a/source/creator/creator_args.cc +++ b/source/creator/creator_args.cc @@ -2510,6 +2510,7 @@ static int arg_handle_addons_set(int argc, const char **argv, void *data) return 0; } +# ifdef WITH_OPENGL_BACKEND static const char arg_handle_profile_gpu_set_doc[] = "\n" "\tEnable CPU & GPU performance profiling for GPU debug groups\n" @@ -2519,6 +2520,7 @@ static int arg_handle_profile_gpu_set(int /*argc*/, const char ** /*argv*/, void G.profile_gpu = true; return 0; } +# endif /** * Implementation for #arg_handle_load_last_file, also used by `--open-last`.