From c0c2ba4ca6d11960654f46b14c36629b03f645cd Mon Sep 17 00:00:00 2001 From: fickleheart Date: Fri, 18 Jan 2019 20:28:31 -0600 Subject: [PATCH] Fix clobbering error in MD2 texture code --- src/hardware/hw_md2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_md2.c b/src/hardware/hw_md2.c index 754c8d872..4c19b0956 100644 --- a/src/hardware/hw_md2.c +++ b/src/hardware/hw_md2.c @@ -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);