Patch Update - Fix Release
FIX : ~ Modifie l'ordre des shutdown + Ajout de Mutex pour éviter de release et de render la frame en même temp - Suppression d'un shutdown oublié de ImGui dans systeme class
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "rendertextureclass.h"
|
||||
#include "displayplaneclass.h"
|
||||
#include "reflectionshaderclass.h"
|
||||
#include "systemclass.h"
|
||||
|
||||
|
||||
/////////////
|
||||
@@ -75,14 +76,14 @@ public:
|
||||
|
||||
XMVECTOR GetLightPosition(int index);
|
||||
XMVECTOR GetLightColor(int index);
|
||||
|
||||
void SetLightPosition(int index, XMVECTOR color);
|
||||
void SetLightColor(int index, XMVECTOR color);
|
||||
|
||||
void DeleteLight(int index);
|
||||
|
||||
std::vector<LightClass*> GetLights() const { return m_Lights; };
|
||||
|
||||
bool GetShouldQuit() const { return m_ShouldQuit; };
|
||||
void SetShouldQuit(bool shouldQuit) { m_ShouldQuit = shouldQuit; };
|
||||
|
||||
private:
|
||||
bool Render(float, float, float, float, float);
|
||||
bool UpdateMouseStrings(int, int, bool);
|
||||
@@ -158,6 +159,12 @@ private :
|
||||
// ------------------- LOGGER ---------------------- //
|
||||
// ------------------------------------------------- //
|
||||
Logger logger;
|
||||
|
||||
// ------------------------------------------------- //
|
||||
// ------------------- OTHER ----------------------- //
|
||||
// ------------------------------------------------- //
|
||||
|
||||
bool m_ShouldQuit;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user