fixing SDLManager

This commit is contained in:
2024-09-20 17:02:55 +02:00
parent 092e5acd9b
commit 8348f9ce7a
5 changed files with 21 additions and 19 deletions

View File

@@ -27,19 +27,19 @@ namespace mlx
void ErrorCallback(const char* message) noexcept
{
FatalError(message, 0, "", "");
Logs::Report(LogType::FatalError, 0, "", "", message);
std::cout << std::endl;
}
void ValidationErrorCallback(const char* message) noexcept
{
Error(message, 0, "", "");
Logs::Report(LogType::Error, 0, "", "", message);
std::cout << std::endl;
}
void ValidationWarningCallback(const char* message) noexcept
{
Warning(message, 0, "", "");
Logs::Report(LogType::Warning, 0, "", "", message);
std::cout << std::endl;
}