From b37993f23cf2fd66f6d8cadd7e535ced9cf8b9fc Mon Sep 17 00:00:00 2001 From: Mamitiana RASOLOJAONA Date: Thu, 4 Apr 2024 09:50:51 +0200 Subject: [PATCH] correction ecran noir --- enginecustom/applicationclass.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/enginecustom/applicationclass.cpp b/enginecustom/applicationclass.cpp index 6b46f2c..c82f0ea 100644 --- a/enginecustom/applicationclass.cpp +++ b/enginecustom/applicationclass.cpp @@ -73,7 +73,7 @@ bool ApplicationClass::Initialize(int screenWidth, int screenHeight, HWND hwnd) m_Camera->SetPosition(0.0f, 0.0f, -12.0f); m_Camera->SetRotation(0.0f, 0.0f, 0.0f); - return true; + // Create and initialize the font shader object. m_FontShader = new FontShaderClass; @@ -289,8 +289,6 @@ bool ApplicationClass::Initialize(int screenWidth, int screenHeight, HWND hwnd) { return false; } - - return true; }