Fix clobbering error in MD2 texture code

This commit is contained in:
fickleheart 2019-01-18 20:28:31 -06:00
parent 4f38982968
commit c0c2ba4ca6

View file

@ -496,7 +496,7 @@ static GrTextureFormat_t PNG_Load(const char *filename, int *w, int *h, GLPatch_
jmp_buf jmpbuf;
#endif
#endif
png_FILE_p png_FILE;
volatile png_FILE_p png_FILE;
//Filename checking fixed ~Monster Iestyn and Golden
char *pngfilename = va("%s"PATHSEP"md2"PATHSEP"%s", srb2home, filename);