Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Galactice
Kart-Public
Commits
c0c2ba4c
Commit
c0c2ba4c
authored
Jan 18, 2019
by
fickleheart
Browse files
Fix clobbering error in MD2 texture code
parent
4f389829
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hardware/hw_md2.c
View file @
c0c2ba4c
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment