Minor Update - Logger transformer en Singleton
This commit is contained in:
@@ -13,7 +13,7 @@ imguiManager::~imguiManager()
|
||||
|
||||
bool imguiManager::Initialize(HWND hwnd, ID3D11Device* device, ID3D11DeviceContext* deviceContext)
|
||||
{
|
||||
logger.Log("Initializing imgui", __FILE__, __LINE__);
|
||||
Logger::Get().Log("Initializing imgui", __FILE__, __LINE__);
|
||||
|
||||
IMGUI_CHECKVERSION();
|
||||
ImGui::CreateContext();
|
||||
@@ -23,7 +23,7 @@ bool imguiManager::Initialize(HWND hwnd, ID3D11Device* device, ID3D11DeviceConte
|
||||
ImGui_ImplDX11_Init(device, deviceContext);
|
||||
ImGui::StyleColorsDark();
|
||||
|
||||
logger.Log("imgui initialized", __FILE__, __LINE__);
|
||||
Logger::Get().Log("imgui initialized", __FILE__, __LINE__);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user