mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
fixing bug with image recreation
This commit is contained in:
@@ -16,7 +16,7 @@ namespace mlx
|
||||
}
|
||||
catch(const std::exception& e)
|
||||
{
|
||||
Logs::Report(LogType::Error, "formatter exception catched in the log printer : "s + e.what());
|
||||
Logs::Report(LogType::Error, line, file, function, "formatter exception catched in the log printer: "s + e.what());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace mlx
|
||||
}
|
||||
catch(const std::exception& e)
|
||||
{
|
||||
Logs::Report(LogType::Error, "formatter exception catched in the log printer : "s + e.what());
|
||||
Logs::Report(LogType::Error, line, file, function, "formatter exception catched in the log printer: "s + e.what());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace mlx
|
||||
}
|
||||
catch(const std::exception& e)
|
||||
{
|
||||
Logs::Report(LogType::Error, "formatter exception catched in the log printer : "s + e.what());
|
||||
Logs::Report(LogType::Error, line, file, function, "formatter exception catched in the log printer: "s + e.what());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace mlx
|
||||
}
|
||||
catch(const std::exception& e)
|
||||
{
|
||||
Logs::Report(LogType::Error, "formatter exception catched in the log printer : "s + e.what());
|
||||
Logs::Report(LogType::Error, line, file, function, "formatter exception catched in the log printer: "s + e.what());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace mlx
|
||||
}
|
||||
catch(const std::exception& e)
|
||||
{
|
||||
Logs::Report(LogType::Error, "formatter exception catched in the log printer : "s + e.what());
|
||||
Logs::Report(LogType::FatalError, line, file, function, "formatter exception catched in the log printer: "s + e.what());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@ namespace mlx
|
||||
}
|
||||
catch(const std::exception& e)
|
||||
{
|
||||
Logs::Report(LogType::Error, "formatter exception catched in the log printer : "s + e.what());
|
||||
Logs::Report(LogType::FatalError, line, file, function, "formatter exception catched in the log printer: "s + e.what());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace mlx
|
||||
}
|
||||
catch(const std::exception& e)
|
||||
{
|
||||
Logs::Report(LogType::Error, "formatter exception catched in the log printer : "s + e.what());
|
||||
Logs::Report(LogType::FatalError, line, file, function, "formatter exception catched in the log printer: "s + e.what());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace mlx
|
||||
public:
|
||||
RenderPasses() = default;
|
||||
|
||||
void Init(class Renderer& renderer);
|
||||
void Init();
|
||||
void Pass(class Scene& scene, class Renderer& renderer, const Vec4f& clear_color);
|
||||
void Destroy();
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace mlx
|
||||
{
|
||||
public:
|
||||
SceneRenderer() = default;
|
||||
void Init(class Renderer& renderer);
|
||||
void Init();
|
||||
void Render(class Scene& scene, class Renderer& renderer); // TODO : add RTT support
|
||||
void Destroy();
|
||||
~SceneRenderer() = default;
|
||||
|
||||
Reference in New Issue
Block a user