Fix crash on destroying inserted graphics object

This commit is contained in:
Mikhail Lobotskiy
2025-06-09 21:20:27 +04:00
parent 3886951671
commit c11171fbf2

View File

@ -115,17 +115,16 @@ namespace NSGraphics
class CGraphics
{
public:
CGraphicsAppImage* m_pAppImage;
CGraphicsAppImage* m_pAppImage = nullptr;
CBgraFrame m_oFrame;
private:
NSGraphics::IGraphicsRenderer* m_pRenderer;
NSGraphics::IGraphicsRenderer* m_pRenderer = nullptr;
CGrState m_oGrState;
public:
CGraphics()
{
m_pAppImage = NULL;
}
~CGraphics()
{