diff --git a/raylib/utils_android.go b/raylib/utils_android.go index 01d75dd..8e19c82 100644 --- a/raylib/utils_android.go +++ b/raylib/utils_android.go @@ -25,7 +25,7 @@ func SetTraceLog(typeFlags int) { logTypeFlags = typeFlags ctypeFlags := (C.uchar)(typeFlags) - C.SetTraceLog(ctypeFlags) + C.SetTraceLogLevel(ctypeFlags) } // TraceLog - Trace log messages showing (INFO, WARNING, ERROR, DEBUG) diff --git a/raylib/utils_windows.go b/raylib/utils_windows.go index c9cf4cc..c25baac 100644 --- a/raylib/utils_windows.go +++ b/raylib/utils_windows.go @@ -17,7 +17,7 @@ func SetTraceLog(typeFlags int) { logTypeFlags = typeFlags ctypeFlags := (C.uchar)(typeFlags) - C.SetTraceLog(ctypeFlags) + C.SetTraceLogLevel(ctypeFlags) } // TraceLog - Show trace log messages (INFO, WARNING, ERROR, DEBUG)