Skip to content

Commit

Permalink
Fix clobbering error in MD2 texture code
Browse files Browse the repository at this point in the history
  • Loading branch information
fickleheart committed Jan 19, 2019
1 parent 4f38982 commit c0c2ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hardware/hw_md2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit c0c2ba4

Please sign in to comment.