From 5ac98b6203f5bce61ca735a76c88c33d25ac1d59 Mon Sep 17 00:00:00 2001 From: Sven Balzer <4653051+Kyuusokuna@users.noreply.github.com> Date: Mon, 17 Mar 2025 16:24:51 +0100 Subject: [PATCH] make globals static --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index cb2f90d..7cdc992 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -586,8 +586,8 @@ static void setup_memory_functions() { static void setup_memory_functions() {} #endif -bool enable_msaa = true; -SDL_GPUSampleCount highest_supported_sample_count = SDL_GPU_SAMPLECOUNT_1; +static bool enable_msaa = true; +static SDL_GPUSampleCount highest_supported_sample_count = SDL_GPU_SAMPLECOUNT_1; static bool recreate_graphics_pipelines() { SDL_GPUColorTargetDescription color_target_descriptions[] = {