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];
Vector3 color = { 1.0f, 1.0f, 1.0f };
char *mapFileName = NULL;
char mapFileName[128];
FILE *mtlFile;