Corrected SIGSEV bug

This commit is contained in:
Ray 2016-11-13 23:47:28 +01:00
parent 773b0b6bc0
commit 4245237892

View file

@ -1811,7 +1811,7 @@ static Material LoadMTL(const char *fileName)
char buffer[MAX_BUFFER_SIZE]; char buffer[MAX_BUFFER_SIZE];
Vector3 color = { 1.0f, 1.0f, 1.0f }; Vector3 color = { 1.0f, 1.0f, 1.0f };
char *mapFileName = NULL; char mapFileName[128];
FILE *mtlFile; FILE *mtlFile;