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

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