Fix crash in DynOS_Tex_Load()

This commit is contained in:
David Joslin 2023-11-08 13:19:18 -08:00 committed by Agent X
parent c63ac1655d
commit ff7d976551
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