Fix crash in DynOS_Tex_Load()

This commit is contained in:
MysterD 2023-11-08 13:19:18 -08:00
parent 665429483e
commit 98b16c978f
1 changed files with 2 additions and 0 deletions

View File

@ -235,6 +235,8 @@ static bool DynOS_Tex_WriteBinary(GfxData* aGfxData, const SysPath &aOutputFilen
/////////////
DataNode<TexData>* DynOS_Tex_Load(BinFile *aFile, GfxData *aGfxData) {
if (!aFile || !aGfxData) { return NULL; }
DataNode<TexData> *_Node = New<DataNode<TexData>>();
// Name