diff --git a/SDL3-CS.SourceGeneration/UnfriendlyMethodFinder.cs b/SDL3-CS.SourceGeneration/UnfriendlyMethodFinder.cs index 969c09b..c9f87ab 100644 --- a/SDL3-CS.SourceGeneration/UnfriendlyMethodFinder.cs +++ b/SDL3-CS.SourceGeneration/UnfriendlyMethodFinder.cs @@ -15,7 +15,7 @@ namespace SDL.SourceGeneration { public readonly Dictionary> Methods = new Dictionary>(); - private static readonly string[] sdlPrefixes = ["SDL_", "TTF_", "IMG_"]; + private static readonly string[] sdlPrefixes = ["SDL_", "TTF_", "IMG_", "Mix_"]; /// /// Checks whether the method is from any SDL library. diff --git a/SDL3-CS/generate_bindings.py b/SDL3-CS/generate_bindings.py index ba1a941..1320960 100644 --- a/SDL3-CS/generate_bindings.py +++ b/SDL3-CS/generate_bindings.py @@ -180,10 +180,6 @@ headers = [ def prepare_sdl_source(): for lib in SDL_libs: - subprocess.run([ - "git", "config", "--global", "--add", "safe.directory", - repository_root / SDL_lib_root / lib - ]) subprocess.run([ "git", "reset",