From 22a47c63b00358f8d8e2dbf3797e2e36c6ad51c1 Mon Sep 17 00:00:00 2001 From: ChrisDill Date: Tue, 1 Mar 2022 21:35:10 +0000 Subject: [PATCH] Remove initializer for default callback --- Raylib-cs/types/Logging.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Raylib-cs/types/Logging.cs b/Raylib-cs/types/Logging.cs index 2f87f17..e25f8f2 100644 --- a/Raylib-cs/types/Logging.cs +++ b/Raylib-cs/types/Logging.cs @@ -40,12 +40,6 @@ namespace Raylib_cs /// public static unsafe class Logging { - [ModuleInitializer] - internal static void SetDefaultCallback() - { - Raylib.SetTraceLogCallback(&LogConsole); - } - [UnmanagedCallersOnly(CallConvs = new[] { typeof(System.Runtime.CompilerServices.CallConvCdecl) })] public static unsafe void LogConsole(int msgType, sbyte* text, sbyte* args) {